[Scummvm-cvs-logs] CVS: scummvm/sword1 sword1.cpp,1.21,1.22

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


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

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


Index: sword1.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/sword1.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- sword1.cpp	22 Dec 2003 23:21:28 -0000	1.21
+++ sword1.cpp	24 Dec 2003 17:42:22 -0000	1.22
@@ -89,7 +89,7 @@
 	_system = syst;
 	_debugLevel = ConfMan.getInt("debuglevel");
 	
-	if (!_mixer->bindToSystem(syst))
+	if (!_mixer->isReady())
 		warning("Sound initialization failed");
 }
 





More information about the Scummvm-git-logs mailing list