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_audio.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_audio.h')
-rw-r--r-- | audio/softsynth/fmtowns_pc98/towns_audio.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_audio.h b/audio/softsynth/fmtowns_pc98/towns_audio.h index b00243f610..4af888f009 100644 --- a/audio/softsynth/fmtowns_pc98/towns_audio.h +++ b/audio/softsynth/fmtowns_pc98/towns_audio.h @@ -35,7 +35,7 @@ public: class TownsAudioInterface { public: - TownsAudioInterface(Audio::Mixer *mixer, TownsAudioInterfacePluginDriver *driver); + TownsAudioInterface(Audio::Mixer *mixer, TownsAudioInterfacePluginDriver *driver, bool externalMutexHandling = false); ~TownsAudioInterface(); bool init(); @@ -48,13 +48,6 @@ public: // The first 6 bits are the 6 fm channels. The next 8 bits are pcm channels. void setSoundEffectChanMask(int mask); - // These methods should not be needed in standard situations, since the mutex - // is handled internally. However, they may be required to avoid lockup situations - // if the code using this class has a mutex of its own (example for a lockup - // situation: imuse.cpp, line 78). - void lockInternal(); - void unlockInternal(); - private: TownsAudioInterfaceInternal *_intf; }; |