diff options
author | Paul Gilbert | 2007-09-28 07:55:02 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-09-28 07:55:02 +0000 |
commit | c5edcaa2ef09467aa3d46fd40491ca9cdf6dc2c8 (patch) | |
tree | 8d3bfa4c9f04ca18c90578b1c8a9ae63087e3ed7 /engines/lure/sound.h | |
parent | 61a642b1ccd8afc9bffc50ef1ed934f1706b6ce8 (diff) | |
download | scummvm-rg350-c5edcaa2ef09467aa3d46fd40491ca9cdf6dc2c8.tar.gz scummvm-rg350-c5edcaa2ef09467aa3d46fd40491ca9cdf6dc2c8.tar.bz2 scummvm-rg350-c5edcaa2ef09467aa3d46fd40491ca9cdf6dc2c8.zip |
Wrapped access to the playing sounds list in a mutex
svn-id: r29114
Diffstat (limited to 'engines/lure/sound.h')
-rw-r--r-- | engines/lure/sound.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/lure/sound.h b/engines/lure/sound.h index cfe0739298..c9c5e191c1 100644 --- a/engines/lure/sound.h +++ b/engines/lure/sound.h @@ -117,11 +117,13 @@ private: bool _channelsInUse[NUM_CHANNELS_OUTER]; bool _isPlaying; bool _nativeMT32; + Common::MutexRef _soundMutex; // Internal support methods void bellsBodge(); void musicInterface_TidySounds(); static void onTimer(void *data); + void doTimer(); public: SoundManager(); ~SoundManager(); |