[Scummvm-cvs-logs] CVS: scummvm/sound wave.cpp,1.11,1.12

kirben kirben at users.sourceforge.net
Thu Nov 10 22:44:03 CET 2005


Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9992/sound

Modified Files:
	wave.cpp 
Log Message:

Fix sound looping regression in simon2 (Windows).
Sound flags were been reset.


Index: wave.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/wave.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- wave.cpp	21 Oct 2005 02:00:12 -0000	1.11
+++ wave.cpp	11 Nov 2005 06:43:38 -0000	1.12
@@ -110,7 +110,6 @@
 	// Prepare the return values.
 	rate = samplesPerSec;
 
-	flags = 0;
 	if (bitsPerSample == 8)		// 8 bit data is unsigned
 		flags |= Audio::Mixer::FLAG_UNSIGNED;
 	else if (bitsPerSample == 16)	// 16 bit data is signed little endian





More information about the Scummvm-git-logs mailing list