mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Merge pull request #1768 from raven02/patch-9
Restore volume shift to 15
This commit is contained in:
commit
f01a9d4bbf
1 file changed
+2
-2
@@ -216,8 +216,8 @@ void __AudioUpdate()
|
||||
s16 sampleL = chans[i].sampleQueue.pop_front();
|
||||
s16 sampleR = chans[i].sampleQueue.pop_front();
|
||||
// The channel volume should be done here?
|
||||
mixBuffer[s * 2 + 0] += sampleL * (s32)chans[i].leftVolume >> 14;
|
||||
mixBuffer[s * 2 + 1] += sampleR * (s32)chans[i].rightVolume >> 14;
|
||||
mixBuffer[s * 2 + 0] += sampleL * (s32)chans[i].leftVolume >> 15;
|
||||
mixBuffer[s * 2 + 1] += sampleR * (s32)chans[i].rightVolume >> 15;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user