aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/fmtowns_pc98/towns_audio.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/softsynth/fmtowns_pc98/towns_audio.h')
-rw-r--r--audio/softsynth/fmtowns_pc98/towns_audio.h9
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;
};