diff options
author | Max Horn | 2007-11-02 16:10:53 +0000 |
---|---|---|
committer | Max Horn | 2007-11-02 16:10:53 +0000 |
commit | 02b929e06e082c116f22aea9a502364ec6a6d3cf (patch) | |
tree | cfd60616522adcb7d520f120979e0e9bcd020f66 /sound/softsynth/mt32 | |
parent | 8eb73f269492e5123e86236f5398a14e6aa991b5 (diff) | |
download | scummvm-rg350-02b929e06e082c116f22aea9a502364ec6a6d3cf.tar.gz scummvm-rg350-02b929e06e082c116f22aea9a502364ec6a6d3cf.tar.bz2 scummvm-rg350-02b929e06e082c116f22aea9a502364ec6a6d3cf.zip |
Patch #1816901: MT-32 emu: Low volume
svn-id: r29378
Diffstat (limited to 'sound/softsynth/mt32')
-rw-r--r-- | sound/softsynth/mt32/partial.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |