aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-10 19:20:34 -0400
committerGitHub <noreply@github.com>2020-03-10 19:20:34 -0400
commit36c55f0b17e7c2697543edc38e444d01da4f4a5c (patch)
treebeb7cb0baf66bf5d0f07919153c6586790345f33 /ext/bg/js/settings
parent7541517d8084b50e054393f3b4fa6d4630ad012e (diff)
parent0cbf427ab50061b48c9027e63e9ee8a209946d37 (diff)
Merge pull request #401 from toasted-nutbread/audio-refactor
Audio refactor
Diffstat (limited to 'ext/bg/js/settings')
-rw-r--r--ext/bg/js/settings/audio.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/settings/audio.js b/ext/bg/js/settings/audio.js
index 6f581d9b..c825be6b 100644
--- a/ext/bg/js/settings/audio.js
+++ b/ext/bg/js/settings/audio.js
@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/*global getOptionsContext, getOptionsMutable, settingsSaveOptions, apiAudioGetUrl
+/*global getOptionsContext, getOptionsMutable, settingsSaveOptions, apiAudioGetUri
AudioSystem, AudioSourceUI*/
let audioSourceUI = null;
@@ -26,7 +26,7 @@ async function audioSettingsInitialize() {
audioSystem = new AudioSystem({
getAudioUri: async (definition, source) => {
const optionsContext = getOptionsContext();
- return await apiAudioGetUrl(definition, source, optionsContext);
+ return await apiAudioGetUri(definition, source, optionsContext);
}
});