diff options
Diffstat (limited to 'engines/kyra/sound_intern.h')
-rw-r--r-- | engines/kyra/sound_intern.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/kyra/sound_intern.h b/engines/kyra/sound_intern.h index be3c09de96..427bef66e2 100644 --- a/engines/kyra/sound_intern.h +++ b/engines/kyra/sound_intern.h @@ -67,7 +67,7 @@ public: void haltTrack(); bool isPlaying() const; - void playSoundEffect(uint8 track); + void playSoundEffect(uint8 track, uint8 volume = 0xff); void stopAllSoundEffects(); void beginFadeOut(); @@ -116,7 +116,7 @@ public: void playTrack(uint8 track); void haltTrack(); - void playSoundEffect(uint8); + void playSoundEffect(uint8 track, uint8 volume = 0xff); void stopAllSoundEffects(); void beginFadeOut(); @@ -166,7 +166,7 @@ public: void beginFadeOut(); int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume, bool isSfx) { return -1; } - void playSoundEffect(uint8); + void playSoundEffect(uint8 track, uint8 volume = 0xff); void updateVolumeSettings(); @@ -195,7 +195,7 @@ public: void beginFadeOut(); int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume, bool isSfx); - void playSoundEffect(uint8 track); + void playSoundEffect(uint8 track, uint8 volume = 0xff); void updateVolumeSettings(); @@ -304,7 +304,7 @@ public: void beginFadeOut(); int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume, bool isSfx) { return -1; } - void playSoundEffect(uint8); + void playSoundEffect(uint8 track, uint8 volume = 0xff); protected: Audio::MaxTrax *_driver; |