[Scummvm-cvs-logs] CVS: scummvm/sky sky.cpp,1.134,1.135

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


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

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


Index: sky.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/sky.cpp,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -d -r1.134 -r1.135
--- sky.cpp	21 Dec 2003 15:29:51 -0000	1.134
+++ sky.cpp	24 Dec 2003 17:42:21 -0000	1.135
@@ -115,7 +115,7 @@
 SkyEngine::SkyEngine(GameDetector *detector, OSystem *syst)
 	: Engine(syst) {
 	
-	if (!_mixer->bindToSystem(syst))
+	if (!_mixer->isReady())
 		warning("Sound initialisation failed.");
 
 	_mixer->setVolume(ConfMan.getInt("sfx_volume")); //unnecessary?





More information about the Scummvm-git-logs mailing list