[Scummvm-cvs-logs] CVS: scummvm/scumm/imuse_digi dimuse_sndmgr.cpp,1.63,1.64

Pawel Kolodziejski aquadran at users.sourceforge.net
Fri Jan 28 09:30:01 CET 2005


Update of /cvsroot/scummvm/scummvm/scumm/imuse_digi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31172

Modified Files:
	dimuse_sndmgr.cpp 
Log Message:
more proper checks

Index: dimuse_sndmgr.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/imuse_digi/dimuse_sndmgr.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- dimuse_sndmgr.cpp	28 Jan 2005 14:55:52 -0000	1.63
+++ dimuse_sndmgr.cpp	28 Jan 2005 15:04:37 -0000	1.64
@@ -589,9 +589,9 @@
 #ifdef USE_VORBIS
 				if (oggMode)
 					soundHandle->compressedStream = makeVorbisStream(cmpFile, len);
-				else
 #endif
 #ifdef USE_MAD
+				if (!oggMode)
 					soundHandle->compressedStream = makeMP3Stream(cmpFile, len);
 #endif
 				assert(soundHandle->compressedStream);





More information about the Scummvm-git-logs mailing list