diff options
Diffstat (limited to 'sound/softsynth/fmtowns_pc98/towns_pc98_driver.h')
-rw-r--r-- | sound/softsynth/fmtowns_pc98/towns_pc98_driver.h | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/sound/softsynth/fmtowns_pc98/towns_pc98_driver.h b/sound/softsynth/fmtowns_pc98/towns_pc98_driver.h index a0dd870549..18daee1e72 100644 --- a/sound/softsynth/fmtowns_pc98/towns_pc98_driver.h +++ b/sound/softsynth/fmtowns_pc98/towns_pc98_driver.h @@ -49,17 +49,31 @@ public: void fadeStep(); - void pause() { _musicPlaying = false; } - void cont() { _musicPlaying = true; } + void pause() { + _musicPlaying = false; + } + void cont() { + _musicPlaying = true; + } void timerCallbackB(); void timerCallbackA(); - bool looping() { return _looping == _updateChannelsFlag ? true : false; } - bool musicPlaying() { return _musicPlaying; } - - void setMusicVolume(int volume) { _musicVolume = volume; setVolumeIntern(_musicVolume, _sfxVolume); } - void setSoundEffectVolume(int volume) { _sfxVolume = volume; setVolumeIntern(_musicVolume, _sfxVolume); } + bool looping() { + return _looping == _updateChannelsFlag ? true : false; + } + bool musicPlaying() { + return _musicPlaying; + } + + void setMusicVolume(int volume) { + _musicVolume = volume; + setVolumeIntern(_musicVolume, _sfxVolume); + } + void setSoundEffectVolume(int volume) { + _sfxVolume = volume; + setVolumeIntern(_musicVolume, _sfxVolume); + } protected: void startSoundEffect(); |