Ticket #3441: revised-mt-32.patch
File revised-mt-32.patch, 581 bytes (added by , 17 years ago) |
---|
-
sound/softsynth/mt32/partial.cpp
old new 639 639 partialBuf += donelen * 2; 640 640 #endif 641 641 while (length--) { 642 *partialBuf++ = (Bit16s)(((Bit32s)*mixedBuf * (Bit32s)leftvol) >> 1 6);643 *partialBuf++ = (Bit16s)(((Bit32s)*mixedBuf * (Bit32s)rightvol) >> 1 6);642 *partialBuf++ = (Bit16s)(((Bit32s)*mixedBuf * (Bit32s)leftvol) >> 15); 643 *partialBuf++ = (Bit16s)(((Bit32s)*mixedBuf * (Bit32s)rightvol) >> 15); 644 644 mixedBuf++; 645 645 } 646 646 return true;