diff options
-rw-r--r-- | COPYRIGHT | 1 | ||||
-rw-r--r-- | sound/softsynth/mt32/partial.cpp | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -189,3 +189,4 @@ ole phi1 spookypeanut "spookypeanut" tbcarey +Tim "tipabu" diff --git a/sound/softsynth/mt32/partial.cpp b/sound/softsynth/mt32/partial.cpp index 7d4b985b49..ff1222e688 100644 --- a/sound/softsynth/mt32/partial.cpp +++ b/sound/softsynth/mt32/partial.cpp @@ -639,8 +639,8 @@ bool Partial::produceOutput(Bit16s *partialBuf, long length) { partialBuf += donelen * 2; #endif while (length--) { - *partialBuf++ = (Bit16s)(((Bit32s)*mixedBuf * (Bit32s)leftvol) >> 16); - *partialBuf++ = (Bit16s)(((Bit32s)*mixedBuf * (Bit32s)rightvol) >> 16); + *partialBuf++ = (Bit16s)(((Bit32s)*mixedBuf * (Bit32s)leftvol) >> 15); + *partialBuf++ = (Bit16s)(((Bit32s)*mixedBuf * (Bit32s)rightvol) >> 15); mixedBuf++; } return true; |