diff options
author | Tobia Tesan | 2014-09-30 21:44:54 +0200 |
---|---|---|
committer | Tobia Tesan | 2014-10-01 08:34:11 +0200 |
commit | a3ea75e0805d95a7b7ca7301fc958df640c7c117 (patch) | |
tree | 6053e7188a313c27c38b3394c2bd2a6abb7d19d5 /engines/wintermute/base/sound/base_sound_buffer.h | |
parent | 5f9febee3d5a103eadc71b50d02d9eb548c0e97f (diff) | |
download | scummvm-rg350-a3ea75e0805d95a7b7ca7301fc958df640c7c117.tar.gz scummvm-rg350-a3ea75e0805d95a7b7ca7301fc958df640c7c117.tar.bz2 scummvm-rg350-a3ea75e0805d95a7b7ca7301fc958df640c7c117.zip |
WINTERMUTE: Make a bunch of attributes private in BaseSoundBuffer
Diffstat (limited to 'engines/wintermute/base/sound/base_sound_buffer.h')
-rw-r--r-- | engines/wintermute/base/sound/base_sound_buffer.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/engines/wintermute/base/sound/base_sound_buffer.h b/engines/wintermute/base/sound/base_sound_buffer.h index 94bc8dc6ad..b3f3046674 100644 --- a/engines/wintermute/base/sound/base_sound_buffer.h +++ b/engines/wintermute/base/sound/base_sound_buffer.h @@ -71,23 +71,26 @@ public: void updateVolume(); void setType(Audio::Mixer::SoundType Type); + Audio::Mixer::SoundType getType() const; bool loadFromFile(const Common::String &filename, bool forceReload = false); void setStreaming(bool streamed, uint32 numBlocks = 0, uint32 blockSize = 0); bool applyFX(TSFXType type, float param1, float param2, float param3, float param4); - + int32 getPrivateVolume() const; + void setFreezePaused(bool freezePaused); + bool isFreezePaused() const; + bool isLooping() const; //HSTREAM _stream; //HSYNC _sync; + +private: + Audio::Mixer::SoundType _type; Audio::SeekableAudioStream *_stream; Audio::SoundHandle *_handle; - bool _freezePaused; - uint32 _loopStart; - Audio::Mixer::SoundType _type; bool _looping; - int32 _privateVolume; -private: + uint32 _loopStart; uint32 _startPos; Common::String _filename; bool _streamed; |