Ticket #8133: mixer_diff

File mixer_diff, 551 bytes (added by SF/arisme, 22 years ago)
Line 
1Index: mixer.cpp
2===================================================================
3RCS file: /cvsroot/scummvm/scummvm/sound/mixer.cpp,v
4retrieving revision 1.28
5diff -u -r1.28 mixer.cpp
6--- mixer.cpp 19 Nov 2002 01:50:15 -0000 1.28
7+++ mixer.cpp 21 Nov 2002 00:35:06 -0000
8@@ -808,7 +808,7 @@
9 sample = -MAD_F_ONE;
10
11 /* quantize and scale to not saturate when mixing a lot of channels */
12- return sample >> (MAD_F_FRACBITS + 2 - 16);
13+ return sample >> (MAD_F_FRACBITS + 1 - 16);
14 }
15
16 void SoundMixer::ChannelMP3::mix(int16 * data, uint len) {