aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--COPYRIGHT1
-rw-r--r--sound/softsynth/mt32/partial.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/COPYRIGHT b/COPYRIGHT
index 80dfadfed4..3a7112ed7e 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -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;