diff --git a/src/renderer/main/vueapp.js b/src/renderer/main/vueapp.js index dcbf3284..9c15f480 100644 --- a/src/renderer/main/vueapp.js +++ b/src/renderer/main/vueapp.js @@ -984,7 +984,7 @@ const app = new Vue({ } catch (e) { if (e instanceof TypeError === false) { console.debug("[Cider][MaikiwiSoundCheck] normalizer function err: " + e) } else { - if (localFiles === true) {CiderAudio.audioNodes.gainNode.gain = 0.8222426499470} + if (localFiles === true) {CiderAudio.audioNodes.gainNode.gain.value = 0.8222426499470} } } if (previewURL == null && ((app.mk.nowPlayingItem?._songId ?? (app.mk.nowPlayingItem["songId"] ?? app.mk.nowPlayingItem.relationships.catalog.data[0].id)) != -1)) { @@ -995,7 +995,7 @@ const app = new Vue({ ipcRenderer.send('getPreviewURL', previewURL) } else { - if (localFiles === true) {CiderAudio.audioNodes.gainNode.gain = 0.8222426499470} + if (localFiles === true) {CiderAudio.audioNodes.gainNode.gain.value = 0.8222426499470} } }) } else { @@ -1007,7 +1007,7 @@ const app = new Vue({ } catch (e) { if (e instanceof TypeError === false) { console.debug("[Cider][MaikiwiSoundCheck] normalizer function err: " + e) } else { - if (localFiles === true) {CiderAudio.audioNodes.gainNode.gain = 0.8222426499470} + if (localFiles === true) {CiderAudio.audioNodes.gainNode.gain.value = 0.8222426499470} } } }