[Scummvm-cvs-logs] SF.net SVN: scummvm: [29378] scummvm/trunk

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Nov 2 17:10:53 CET 2007


Revision: 29378
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29378&view=rev
Author:   fingolfin
Date:     2007-11-02 09:10:53 -0700 (Fri, 02 Nov 2007)

Log Message:
-----------
Patch #1816901: MT-32 emu: Low volume

Modified Paths:
--------------
    scummvm/trunk/COPYRIGHT
    scummvm/trunk/sound/softsynth/mt32/partial.cpp

Modified: scummvm/trunk/COPYRIGHT
===================================================================
--- scummvm/trunk/COPYRIGHT	2007-11-02 16:01:52 UTC (rev 29377)
+++ scummvm/trunk/COPYRIGHT	2007-11-02 16:10:53 UTC (rev 29378)
@@ -189,3 +189,4 @@
 phi1
 spookypeanut "spookypeanut"
 tbcarey
+Tim "tipabu"

Modified: scummvm/trunk/sound/softsynth/mt32/partial.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/mt32/partial.cpp	2007-11-02 16:01:52 UTC (rev 29377)
+++ scummvm/trunk/sound/softsynth/mt32/partial.cpp	2007-11-02 16:10:53 UTC (rev 29378)
@@ -639,8 +639,8 @@
 	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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list