Fix BGM Volume

This commit is contained in:
copecone committed 2026-07-11 00:27:53 +09:00
1 parent 16f02f734c
commit 3062b6da78
1 file changed
+2 -1
+2 -1
View File
@@ -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;
}
}
}