Normalization rework

This commit is contained in:
Maikiwi 2022-03-31 21:02:59 -07:00
parent 4f441cc8b1
commit 938ab4522f

View file

@ -756,6 +756,7 @@ const app = new Vue({
ipcRenderer.on('SoundCheckTag', (event, tag) => {
// let replaygain = self.parseSCTagToRG(tag)
try {
if (app.mk.nowPlayingItem.type !== 'song') {
CiderAudio.audioNodes.gainNode.gain.value = 0.70794578438;}
else {
@ -774,6 +775,7 @@ const app = new Vue({
CiderAudio.audioNodes.gainNode.gain.value = gain
} catch (e) {}
}
} catch (e) {ipcRenderer.send('SoundCheckTag', event, tag);} // brute force until it works
})
ipcRenderer.on('play', function (_event, mode, id) {