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 int getVolumePercent();
45 bool setVolumePercent(
int percent);
46 bool setVolume(
int volume);
47 bool setPrivateVolume(
int volume);
48 bool setLoopStart(uint32 pos);
49 uint32 getPositionTime();
50 bool setPositionTime(uint32 time);
52 bool _soundFreezePaused;
57 uint32 _soundLoopStart;
58 uint32 _soundPosition;
61 bool pause(
bool freezePaused =
false);
63 bool play(
bool looping =
false);
68 bool setSoundSimple();
73 bool applyFX(TSFXType type = SFX_NONE,
float param1 = 0,
float param2 = 0,
float param3 = 0,
float param4 = 0);
Definition: base_game.h:75
SoundType
Definition: mixer.h:73
Definition: base_sound_buffer.h:43
Definition: base_sound.h:39
Definition: achievements_tables.h:27