summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/audio-controller.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-17 23:05:15 -0500
committerGitHub <noreply@github.com>2021-01-17 23:05:15 -0500
commit887150e01257af0b5deb472263de116cac7d0c1c (patch)
treeab3b17be658da6209d7c497ca956762a45354228 /ext/bg/js/settings/audio-controller.js
parentd21de9df0052d89bea09e947c312e3694cc64920 (diff)
Audio system improvements (#1268)
* Simplify API * Move fallback audio
Diffstat (limited to 'ext/bg/js/settings/audio-controller.js')
-rw-r--r--ext/bg/js/settings/audio-controller.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/bg/js/settings/audio-controller.js b/ext/bg/js/settings/audio-controller.js
index 200a158d..7c9e77f6 100644
--- a/ext/bg/js/settings/audio-controller.js
+++ b/ext/bg/js/settings/audio-controller.js
@@ -22,9 +22,7 @@
class AudioController {
constructor(settingsController) {
this._settingsController = settingsController;
- this._audioSystem = new AudioSystem({
- cacheSize: 0
- });
+ this._audioSystem = new AudioSystem(false);
this._audioSourceContainer = null;
this._audioSourceAddButton = null;
this._audioSourceEntries = [];