We overshot the final pre-clamp shift by one bit. Should be final now ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3422 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2010-07-07 20:49:55 +00:00
parent f9a56afa15
commit 19c03083a2
1 changed files with 3 additions and 3 deletions

View File

@ -775,12 +775,12 @@ __forceinline void Mix()
} }
else else
{ {
Out.Left = MulShr32( Out.Left<<(SndOutVolumeShift+2), Cores[1].MasterVol.Left.Value ); Out.Left = MulShr32( Out.Left<<(SndOutVolumeShift+1), Cores[1].MasterVol.Left.Value );
Out.Right = MulShr32( Out.Right<<(SndOutVolumeShift+2), Cores[1].MasterVol.Right.Value ); Out.Right = MulShr32( Out.Right<<(SndOutVolumeShift+1), Cores[1].MasterVol.Right.Value );
// Final Clamp! // Final Clamp!
// Like any good audio system, the PS2 pumps the volume and incurs some distortion in its // Like any good audio system, the PS2 pumps the volume and incurs some distortion in its
// output, giving us a nice thumpy sound at times. So we add 2 above (4x volume pump) and // output, giving us a nice thumpy sound at times. So we add 1 above (2x volume pump) and
// then clamp it all here. // then clamp it all here.
Out = clamp_mix( Out, SndOutVolumeShift ); Out = clamp_mix( Out, SndOutVolumeShift );