[Scummvm-cvs-logs] CVS: scummvm/sword2 sword2.cpp,1.92,1.93
Max Horn
fingolfin at users.sourceforge.net
Wed Dec 24 09:43:05 CET 2003
Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1:/tmp/cvs-serv8868/sword2
Modified Files:
sword2.cpp
Log Message:
o Added SoundMixer::isReady()
o Removed SoundMixer::bindToSystem()
o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady()
Index: sword2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/sword2.cpp,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- sword2.cpp 21 Dec 2003 15:29:51 -0000 1.92
+++ sword2.cpp 24 Dec 2003 17:42:22 -0000 1.93
@@ -107,7 +107,7 @@
_debugLevel = ConfMan.getInt("debuglevel");
// Setup mixer
- if (!_mixer->bindToSystem(syst))
+ if (!_mixer->isReady())
warning("Sound initialization failed");
// We have our own volume settings panel, so don't let ScummVM's mixer
More information about the Scummvm-git-logs
mailing list