mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
Restore volume shift to 15
This commit is contained in:
1 parent
c13a101901
commit
c1bb421a26
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