From 859a9c01290dc6022f99c7fd99ff91d62a3153dc Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 24 Dec 2003 17:42:22 +0000 Subject: o Added SoundMixer::isReady() o Removed SoundMixer::bindToSystem() o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady() svn-id: r11893 --- sky/sky.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sky') 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? -- cgit v1.2.3