diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-10 13:44:31 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-18 14:23:34 -0400 |
commit | 7fc3882607f48bb9371649ceacddf2fe278282d2 (patch) | |
tree | 2aef14d284fb1c25e9190a2799b30fb7436beae5 /ext/bg/js/settings/audio.js | |
parent | 5b3d7fadc3534ba27eee971dac4ba5ee475c4e3d (diff) |
Update the parameters passed to various audio-related functions
Diffstat (limited to 'ext/bg/js/settings/audio.js')
-rw-r--r-- | ext/bg/js/settings/audio.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/bg/js/settings/audio.js b/ext/bg/js/settings/audio.js index 3c6e126c..e9aa72e1 100644 --- a/ext/bg/js/settings/audio.js +++ b/ext/bg/js/settings/audio.js @@ -28,12 +28,7 @@ let audioSourceUI = null; let audioSystem = null; async function audioSettingsInitialize() { - audioSystem = new AudioSystem({ - getAudioUri: async (definition, source) => { - const optionsContext = getOptionsContext(); - return await apiAudioGetUri(definition, source, optionsContext); - } - }); + audioSystem = new AudioSystem({audioUriBuilder: null}); const optionsContext = getOptionsContext(); const options = await getOptionsMutable(optionsContext); |