From 7e2391fce26dbed93b028f841a9576244c599105 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 8 Dec 2002 14:18:41 +0000 Subject: Patch #641607: Louder MP3 sound effects svn-id: r5882 --- sound/mixer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/mixer.cpp') diff --git a/sound/mixer.cpp b/sound/mixer.cpp index f04538aba0..ea469ed8ae 100644 --- a/sound/mixer.cpp +++ b/sound/mixer.cpp @@ -809,7 +809,7 @@ static inline int scale_sample(mad_fixed_t sample) { sample = -MAD_F_ONE; /* quantize and scale to not saturate when mixing a lot of channels */ - return sample >> (MAD_F_FRACBITS + 2 - 16); + return sample >> (MAD_F_FRACBITS + 1 - 16); } void SoundMixer::ChannelMP3::mix(int16 * data, uint len) { -- cgit v1.2.3