diff options
author | Eric Fry | 2018-06-19 22:33:09 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | dc9dc0324e2e009092f6c042cd7351362f076c1d (patch) | |
tree | 87ad799cda9e5136d7f9122111fa5982437073a5 /engines/illusions/sound.h | |
parent | 7e4a1c2bf11d18907d4a0a52a0f144eca6ee2bee (diff) | |
download | scummvm-rg350-dc9dc0324e2e009092f6c042cd7351362f076c1d.tar.gz scummvm-rg350-dc9dc0324e2e009092f6c042cd7351362f076c1d.tar.bz2 scummvm-rg350-dc9dc0324e2e009092f6c042cd7351362f076c1d.zip |
ILLUSIONS: Wire up subtitle text duration config slider
Diffstat (limited to 'engines/illusions/sound.h')
-rw-r--r-- | engines/illusions/sound.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/illusions/sound.h b/engines/illusions/sound.h index f0786b2e4d..75464e8bd5 100644 --- a/engines/illusions/sound.h +++ b/engines/illusions/sound.h @@ -117,13 +117,13 @@ public: void stopMidiMusic(); void fadeMidiMusic(int16 finalVolume, int16 duration); - uint8 getMusicVolume(); - uint8 getSfxVolume(); - uint8 getSpeechVolume(); + uint16 getMusicVolume(); + uint16 getSfxVolume(); + uint16 getSpeechVolume(); - void setMusicVolume(uint8 volume); - void setSfxVolume(uint8 volume); - void setSpeechVolume(uint8 volume); + void setMusicVolume(uint16 volume); + void setSfxVolume(uint16 volume); + void setSpeechVolume(uint16 volume); bool cueVoice(const char *voiceName); void stopCueingVoice(); @@ -148,7 +148,7 @@ protected: VoicePlayer *_voicePlayer; SoundList _sounds; Sound *getSound(uint32 soundEffectId); - uint8 calcAdjustedVolume(const Common::String &volumeConfigKey, uint8 volume); + uint16 calcAdjustedVolume(const Common::String &volumeConfigKey, uint16 volume); }; } // End of namespace Illusions |