[Scummvm-cvs-logs] CVS: scummvm/scumm player_mod.cpp,2.10,2.11

Travis Howell kirben at users.sourceforge.net
Tue Dec 16 22:25:01 CET 2003


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

Modified Files:
	player_mod.cpp 
Log Message:

Fix compile for now, I hope this is right.


Index: player_mod.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/player_mod.cpp,v
retrieving revision 2.10
retrieving revision 2.11
diff -u -d -r2.10 -r2.11
--- player_mod.cpp	3 Nov 2003 22:28:37 -0000	2.10
+++ player_mod.cpp	17 Dec 2003 06:24:18 -0000	2.11
@@ -92,7 +92,7 @@
 	_channels[i].pan = pan;
 	_channels[i].ptr = data;
 	_channels[i].freq = rate;
-	_channels[i].input = makeLinearInputStream(SoundMixer::FLAG_AUTOFREE | (loopStart != loopEnd ? SoundMixer::FLAG_LOOP : 0), (const byte*)data, size, loopStart, loopEnd - loopStart);
+	_channels[i].input = makeLinearInputStream(rate, SoundMixer::FLAG_AUTOFREE | (loopStart != loopEnd ? SoundMixer::FLAG_LOOP : 0), (const byte*)data, size, loopStart, loopEnd - loopStart);
 	_channels[i].converter = makeRateConverter(rate, _mixer->getOutputRate(), false, false);
 }
 





More information about the Scummvm-git-logs mailing list