28 #ifndef WINTERMUTE_BASE_SOUND_H 29 #define WINTERMUTE_BASE_SOUND_H 31 #include "engines/wintermute/base/base.h" 32 #include "engines/wintermute/dctypes.h" 33 #include "engines/wintermute/persistent.h" 34 #include "audio/mixer.h" 38 class BaseSoundBuffer;
41 bool setPan(
float pan);
42 int32 _soundPrivateVolume;
44 bool setVolume(
int volume);
45 bool setPrivateVolume(
int volume);
46 bool setLoopStart(uint32 pos);
47 uint32 getPositionTime();
48 bool setPositionTime(uint32 time);
50 bool _soundFreezePaused;
55 uint32 _soundLoopStart;
56 uint32 _soundPosition;
59 bool pause(
bool freezePaused =
false);
61 bool play(
bool looping =
false);
64 TSoundType _soundType;
66 bool setSoundSimple();
67 bool setSound(
const char *filename, TSoundType type = TSoundType::SOUND_SFX,
bool streamed =
false, uint32 initialPrivateVolume = 100);
71 bool applyFX(TSFXType type = SFX_NONE,
float param1 = 0,
float param2 = 0,
float param3 = 0,
float param4 = 0);
Definition: base_game.h:79
Definition: base_sound_buffer.h:43
Definition: base_sound.h:39
Definition: achievements_tables.h:27