aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorMax Horn2003-12-24 17:42:22 +0000
committerMax Horn2003-12-24 17:42:22 +0000
commit859a9c01290dc6022f99c7fd99ff91d62a3153dc (patch)
tree34a40bd53ce6c75e3685ec837c4da4c0a38d01f7 /sword2
parent5665d137f6bae488ac19539acdcfe441f514a9d6 (diff)
downloadscummvm-rg350-859a9c01290dc6022f99c7fd99ff91d62a3153dc.tar.gz
scummvm-rg350-859a9c01290dc6022f99c7fd99ff91d62a3153dc.tar.bz2
scummvm-rg350-859a9c01290dc6022f99c7fd99ff91d62a3153dc.zip
o Added SoundMixer::isReady()
o Removed SoundMixer::bindToSystem() o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady() svn-id: r11893
Diffstat (limited to 'sword2')
-rw-r--r--sword2/sword2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/sword2.cpp b/sword2/sword2.cpp
index b976592cea..bf33cf186a 100644
--- a/sword2/sword2.cpp
+++ b/sword2/sword2.cpp
@@ -107,7 +107,7 @@ Sword2Engine::Sword2Engine(GameDetector *detector, OSystem *syst)
_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