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);
43 int getVolumePercent();
44 bool setVolumePercent(
int percent);
45 bool setVolume(
int volume);
46 bool setPrivateVolume(
int volume);
47 bool setLoopStart(uint32 pos);
48 uint32 getPositionTime();
49 bool setPositionTime(uint32 time);
54 bool pause(
bool freezePaused =
false);
56 bool play(
bool looping =
false);
58 const char *getFilename() {
return _soundFilename.c_str(); }
59 bool setSoundSimple();
64 bool applyFX(TSFXType type = SFX_NONE,
float param1 = 0,
float param2 = 0,
float param3 = 0,
float param4 = 0);
69 int32 _soundPrivateVolume;
70 uint32 _soundLoopStart;
71 uint32 _soundPosition;
75 bool _soundFreezePaused;
Definition: base_game.h:76
SoundType
Definition: mixer.h:62
Definition: base_sound_buffer.h:44
Definition: base_sound.h:39
Definition: achievements_tables.h:27