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"
37class 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);
70 void setType(TSoundType type);
72 bool loadFromFile(
const char *filename,
bool forceReload =
false);
73 void setStreaming(
bool streamed, uint32 numBlocks = 0, uint32 blockSize = 0);
74 bool applyFX(TSFXType type,
float param1,
float param2,
float param3,
float param4);
Definition: audiostream.h:212
Definition: base_game.h:79
Definition: base_sound_buffer.h:43