diff options
Diffstat (limited to 'engines/wintermute/base/sound/base_sound_manager.h')
-rw-r--r-- | engines/wintermute/base/sound/base_sound_manager.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/wintermute/base/sound/base_sound_manager.h b/engines/wintermute/base/sound/base_sound_manager.h index 1ee3c13fdb..602571765f 100644 --- a/engines/wintermute/base/sound/base_sound_manager.h +++ b/engines/wintermute/base/sound/base_sound_manager.h @@ -49,8 +49,7 @@ public: byte getVolumePercent(Audio::Mixer::SoundType type); bool setVolumePercent(Audio::Mixer::SoundType type, byte percent); bool setVolume(Audio::Mixer::SoundType type, int volume); - uint32 _volumeOriginal; - int _volumeMaster; + int32 _volumeMaster; bool removeSound(BaseSoundBuffer *sound); BaseSoundBuffer *addSound(const Common::String &filename, Audio::Mixer::SoundType type = Audio::Mixer::kSFXSoundType, bool streamed = false); bool addSound(BaseSoundBuffer *sound, Audio::Mixer::SoundType type = Audio::Mixer::kSFXSoundType); @@ -61,7 +60,7 @@ public: Common::Array<BaseSoundBuffer *> _sounds; void saveSettings(); private: - int _volumeMasterPercent; // Necessary to avoid round-offs. + int32 _volumeMasterPercent; // Necessary to avoid round-offs. bool setMasterVolume(byte percent); }; |