aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/sound.h
diff options
context:
space:
mode:
authorPaul Gilbert2007-09-28 07:55:02 +0000
committerPaul Gilbert2007-09-28 07:55:02 +0000
commitc5edcaa2ef09467aa3d46fd40491ca9cdf6dc2c8 (patch)
tree8d3bfa4c9f04ca18c90578b1c8a9ae63087e3ed7 /engines/lure/sound.h
parent61a642b1ccd8afc9bffc50ef1ed934f1706b6ce8 (diff)
downloadscummvm-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.h2
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();