aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2008-07-29 00:02:06 +0000
committerMax Horn2008-07-29 00:02:06 +0000
commit4a9104515c1ddc5ac7aee3fa075f3c43b9752898 (patch)
tree0c196728fda6e6f4d913ca30c96b1a69eebe0b92
parent7baf727790f0bd9879ae60bb52d703c113875238 (diff)
downloadscummvm-rg350-4a9104515c1ddc5ac7aee3fa075f3c43b9752898.tar.gz
scummvm-rg350-4a9104515c1ddc5ac7aee3fa075f3c43b9752898.tar.bz2
scummvm-rg350-4a9104515c1ddc5ac7aee3fa075f3c43b9752898.zip
SDL: Properly init vars related to mixer double buffering
svn-id: r33385
-rw-r--r--backends/platform/sdl/sdl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index 76ac91c282..d8394b5c9c 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -170,6 +170,10 @@ OSystem_SDL::OSystem_SDL()
_joystick(0),
_currentShakePos(0), _newShakePos(0),
_paletteDirtyStart(0), _paletteDirtyEnd(0),
+#ifdef MIXER_DOUBLE_BUFFERING
+ _soundMutex(0), _soundCond(0), _soundThread(0),
+ _soundThreadIsRunning(false), _soundThreadShouldQuit(false),
+#endif
_savefile(0),
_mixer(0),
_timer(0),