From c5edcaa2ef09467aa3d46fd40491ca9cdf6dc2c8 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 28 Sep 2007 07:55:02 +0000 Subject: Wrapped access to the playing sounds list in a mutex svn-id: r29114 --- engines/lure/sound.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/lure/sound.h') 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(); -- cgit v1.2.3