From a6e3c9abe7267bb81435e8c1d96f50dcb581b53c Mon Sep 17 00:00:00 2001 From: maikirakiwi Date: Sun, 3 Jul 2022 01:23:40 -0700 Subject: [PATCH] maikiwi is a clown confirmed --- src/renderer/main/vueapp.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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} } } }