diff options
author | Max Horn | 2006-11-01 21:28:14 +0000 |
---|---|---|
committer | Max Horn | 2006-11-01 21:28:14 +0000 |
commit | c718463a24b1f49745b3f4201f11bb7dc5697b87 (patch) | |
tree | b57ca335b0c6920a40d817b5f16f761190ea11ce /backends | |
parent | e7dc2c0d0cabd2e9890903800aab7559115a0d9f (diff) | |
download | scummvm-rg350-c718463a24b1f49745b3f4201f11bb7dc5697b87.tar.gz scummvm-rg350-c718463a24b1f49745b3f4201f11bb7dc5697b87.tar.bz2 scummvm-rg350-c718463a24b1f49745b3f4201f11bb7dc5697b87.zip |
Added Audio::Mixer::setReady method to work around bug #1588848
svn-id: r24583
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/sdl/sdl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp index 3e2416a791..d9bf951cf9 100644 --- a/backends/platform/sdl/sdl.cpp +++ b/backends/platform/sdl/sdl.cpp @@ -190,7 +190,8 @@ void OSystem_SDL::initBackend() { // allow subclasses to provide their own). if (_mixer == 0) { _mixer = new Audio::Mixer(); - setSoundCallback(Audio::Mixer::mixCallback, _mixer); + bool result = setSoundCallback(Audio::Mixer::mixCallback, _mixer); + _mixer->setReady(result); } // Create and hook up the timer manager, if none exists yet (we check for |