From 3062b6da786f1ea057a4320882f5cdf949dc643ec82c5f8debee6b1bc8c26459 Mon Sep 17 00:00:00 2001 From: copecone Date: Sat, 11 Jul 2026 00:27:53 +0900 Subject: [PATCH] Fix BGM Volume --- Util/Audio/OfflineAudioMixer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Util/Audio/OfflineAudioMixer.cs b/Util/Audio/OfflineAudioMixer.cs index cb2496a..cc63a74 100644 --- a/Util/Audio/OfflineAudioMixer.cs +++ b/Util/Audio/OfflineAudioMixer.cs @@ -276,7 +276,8 @@ namespace ADOFAIRenderer.Util.Audio { float valLow = _bgmSamples[idxLow * _targetChannels + c]; float valHigh = _bgmSamples[idxHigh * _targetChannels + c]; - mixedBuffer[s * _targetChannels + c] += (valLow + t * (valHigh - valLow)) * MasterVolume; + mixedBuffer[s * _targetChannels + c] += (valLow + t * (valHigh - valLow)) * (scnGame.instance.levelData.volume * 0.01f) + * ClipVolume; } } }