aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth/fmtowns_pc98/towns_audio.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/softsynth/fmtowns_pc98/towns_audio.h')
-rw-r--r--sound/softsynth/fmtowns_pc98/towns_audio.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/softsynth/fmtowns_pc98/towns_audio.h b/sound/softsynth/fmtowns_pc98/towns_audio.h
index 93a9198fe4..707c9e6bd4 100644
--- a/sound/softsynth/fmtowns_pc98/towns_audio.h
+++ b/sound/softsynth/fmtowns_pc98/towns_audio.h
@@ -46,6 +46,12 @@ public:
int callback(int command, ...);
+ void setMusicVolume(int volume);
+ void setSoundEffectVolume(int volume);
+ // Defines the channels used as sound effect channels for the purpose of ScummVM GUI volume control.
+ // The first 6 bits are the 6 fm channels. The next 8 bits are pcm channels.
+ void setSoundEffectChanMask(uint32 mask);
+
private:
void nextTickEx(int32 *buffer, uint32 bufferSize);
@@ -148,6 +154,10 @@ private:
uint32 _tickLength;
uint32 _timer;
+ uint16 _musicVolume;
+ uint16 _sfxVolume;
+ uint32 _pcmSfxChanMask;
+
TownsAudioInterfacePluginDriver *_drv;
bool _ready;