[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.402,1.403

Max Horn fingolfin at users.sourceforge.net
Wed Dec 24 09:43:03 CET 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv8868/simon

Modified Files:
	simon.cpp 
Log Message:
o Added SoundMixer::isReady()
o Removed SoundMixer::bindToSystem()
o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady()


Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.402
retrieving revision 1.403
diff -u -d -r1.402 -r1.403
--- simon.cpp	24 Dec 2003 00:26:52 -0000	1.402
+++ simon.cpp	24 Dec 2003 17:42:20 -0000	1.403
@@ -530,7 +530,7 @@
 
 
 	// Setup mixer
-	if (!_mixer->bindToSystem(syst))
+	if (!_mixer->isReady())
 		warning("Sound initialization failed. "
 						"Features of the game that depend on sound synchronization will most likely break");
 	set_volume(ConfMan.getInt("sfx_volume"));





More information about the Scummvm-git-logs mailing list