[Scummvm-cvs-logs] CVS: scummvm/scumm player_v1.cpp,1.6,1.7

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Fri Sep 19 13:08:11 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv22252

Modified Files:
	player_v1.cpp 
Log Message:
This change was made to player_v2.cpp recently, and seems to fix bug
#809036 ("MANIAC64: Sound echoes").

I don't understand the exact implications of it, but I assume it has to do
with the premix function having to generate stereo samples now.


Index: player_v1.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/player_v1.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- player_v1.cpp	18 Sep 2003 19:56:38 -0000	1.6
+++ player_v1.cpp	19 Sep 2003 09:02:03 -0000	1.7
@@ -524,7 +524,7 @@
 			generatePCjrSamples(data, step);
 		else
 			generateSpkSamples(data, step);
-		data += step;
+		data += 2 * step;
 		_next_tick -= step << FIXP_SHIFT;
 
 		if (!(_next_tick >> FIXP_SHIFT)) {





More information about the Scummvm-git-logs mailing list