diff options
author | athrxx | 2011-05-23 16:37:58 +0200 |
---|---|---|
committer | unknown | 2011-05-29 01:04:01 +0200 |
commit | c60807cbb9dec063c0b00f8d6ffdb19e83db48f3 (patch) | |
tree | 8a590760f7a5047f9a7ae739699d7a53bffe0e27 /audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.h | |
parent | 3d42141e9dda203a5dae7bb91384405be5abc243 (diff) | |
download | scummvm-rg350-c60807cbb9dec063c0b00f8d6ffdb19e83db48f3.tar.gz scummvm-rg350-c60807cbb9dec063c0b00f8d6ffdb19e83db48f3.tar.bz2 scummvm-rg350-c60807cbb9dec063c0b00f8d6ffdb19e83db48f3.zip |
FM-TOWNS AUDIO: Unlock internal mutex before calling imuse timer proc.
Diffstat (limited to 'audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.h')
-rw-r--r-- | audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.h b/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.h index 6ea9815a72..50a05f92a9 100644 --- a/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.h +++ b/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.h @@ -59,7 +59,7 @@ public: kType86 }; - TownsPC98_FmSynth(Audio::Mixer *mixer, EmuType type); + TownsPC98_FmSynth(Audio::Mixer *mixer, EmuType type, bool externalMutexHandling = false); virtual ~TownsPC98_FmSynth(); virtual bool init(); @@ -73,9 +73,6 @@ public: bool endOfData() const; int getRate() const; - void mutexLock(); - void mutexUnlock(); - protected: void deinit(); @@ -104,6 +101,7 @@ protected: const bool _hasPercussion; Common::Mutex _mutex; + bool _externalMutex; private: void generateTables(); |