优化音效设置-环境音效启用、禁用时的操作效果显示

This commit is contained in:
lyswhut
2023-07-25 15:37:23 +08:00
parent c757ac8517
commit 3c5c684641
5 changed files with 42 additions and 9 deletions
@@ -97,9 +97,11 @@ export default () => {
})
})
watch(() => appSetting['player.soundEffect.convolution.mainGain'], (mainGain) => {
if (!appSetting['player.soundEffect.convolution.fileName']) return
setConvolverMainGain(mainGain / 10)
})
watch(() => appSetting['player.soundEffect.convolution.sendGain'], (sendGain) => {
if (!appSetting['player.soundEffect.convolution.fileName']) return
setConvolverSendGain(sendGain / 10)
})
watch(() => appSetting['player.soundEffect.biquadFilter.hz31'], (hz31) => {