From c5dfdc7b23cf4839152079b30cd18615231d0730 Mon Sep 17 00:00:00 2001 From: TelepathicWalrus Date: Sat, 13 May 2023 13:44:23 +0100 Subject: [PATCH] Move gain debug message to be more reliable --- src/plugins/htmlAudioPlayer/plugin.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/htmlAudioPlayer/plugin.js b/src/plugins/htmlAudioPlayer/plugin.js index 25ae4a71ef..a954e5cff9 100644 --- a/src/plugins/htmlAudioPlayer/plugin.js +++ b/src/plugins/htmlAudioPlayer/plugin.js @@ -118,12 +118,11 @@ class HtmlAudioPlayer { } else { self.gainNode.gain.value = 1; } + console.debug('gain:' + self.gainNode.gain.value); }).catch((err)=> { console.error('[UserSettings] failed to load userSettings', err); }); - console.debug('gain:' + self.gainNode.gain.value); - // Convert to seconds const seconds = (options.playerStartPositionTicks || 0) / 10000000; if (seconds) {