28 #ifndef WINTERMUTE_BASE_SOUNDBUFFER_H 29 #define WINTERMUTE_BASE_SOUNDBUFFER_H 32 #include "engines/wintermute/base/base.h" 33 #include "audio/mixer.h" 34 #include "common/stream.h" 37 class SeekableAudioStream;
50 bool play(
bool looping =
false, uint32 startSample = 0);
55 void setLooping(
bool looping);
58 bool setPosition(uint32 pos);
61 bool setLoopStart(uint32 pos);
62 uint32 getLoopStart()
const {
66 bool setPan(
float pan);
67 bool setPrivateVolume(
int colume);
68 bool setVolume(
int colume);
74 bool loadFromFile(
const Common::String &filename,
bool forceReload =
false);
75 void setStreaming(
bool streamed, uint32 numBlocks = 0, uint32 blockSize = 0);
76 bool applyFX(TSFXType type,
float param1,
float param2,
float param3,
float param4);
77 int32 getPrivateVolume()
const;
78 void setFreezePaused(
bool freezePaused);
79 bool isFreezePaused()
const;
80 bool isLooping()
const;
Definition: base_game.h:75
Definition: audiostream.h:212
SoundType
Definition: mixer.h:73
Definition: base_sound_buffer.h:43
Definition: achievements_tables.h:27