diff options
author | Max Horn | 2003-12-24 17:42:22 +0000 |
---|---|---|
committer | Max Horn | 2003-12-24 17:42:22 +0000 |
commit | 859a9c01290dc6022f99c7fd99ff91d62a3153dc (patch) | |
tree | 34a40bd53ce6c75e3685ec837c4da4c0a38d01f7 /sky | |
parent | 5665d137f6bae488ac19539acdcfe441f514a9d6 (diff) | |
download | scummvm-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 'sky')
-rw-r--r-- | sky/sky.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp index c82675a498..e4160f97e9 100644 --- a/sky/sky.cpp +++ b/sky/sky.cpp @@ -115,7 +115,7 @@ SystemVars SkyEngine::_systemVars = {0, 0, 0, 0, 4316, 0, 0, false, false }; 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? |