From 887150e01257af0b5deb472263de116cac7d0c1c Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 17 Jan 2021 23:05:15 -0500 Subject: Audio system improvements (#1268) * Simplify API * Move fallback audio --- ext/bg/js/settings/audio-controller.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ext/bg') 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 = []; -- cgit v1.2.3