Skip to content

Commit

Permalink
Add warning when compatibility mode is automatically enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliastik committed Jan 1, 2025
1 parent d210945 commit 9845dbc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/cjs/SimpleSoundStudioLibrary.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cjs/SimpleSoundStudioLibrary.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/SimpleSoundStudioLibrary.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/SimpleSoundStudioLibrary.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions lib/audioEditor/AudioProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ export default class AudioProcessor extends AbstractAudioElement implements Audi
this.configService.enableCompatibilityMode();
this.eventEmitter.emit(EventType.COMPATIBILITY_MODE_AUTO_ENABLED);

console.warn("Compatibility mode has been automatically enabled because a problem has been detected with the web browser.");

return false;
}

Expand Down

0 comments on commit 9845dbc

Please sign in to comment.