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;
51 bool play(
bool looping =
false, uint32 startSample = 0);
56 void setLooping(
bool looping);
59 bool setPosition(uint32 pos);
62 bool setLoopStart(uint32 pos);
63 uint32 getLoopStart()
const {
67 bool setPan(
float pan);
68 bool setPrivateVolume(
int colume);
69 bool setVolume(
int colume);
75 bool loadFromFile(
const Common::String &filename,
bool forceReload =
false);
76 void setStreaming(
bool streamed, uint32 numBlocks = 0, uint32 blockSize = 0);
77 bool applyFX(TSFXType type,
float param1,
float param2,
float param3,
float param4);
78 int32 getPrivateVolume()
const;
79 void setFreezePaused(
bool freezePaused);
80 bool isFreezePaused()
const;
81 bool isLooping()
const;
Definition: base_game.h:75
Definition: audiostream.h:212
SoundType
Definition: mixer.h:62
Definition: base_sound_buffer.h:44
Definition: achievements_tables.h:27