28 #ifndef WINTERMUTE_BASE_SOUNDMGR_H 29 #define WINTERMUTE_BASE_SOUNDMGR_H 31 #include "engines/wintermute/coll_templ.h" 32 #include "engines/wintermute/base/base.h" 33 #include "audio/mixer.h" 34 #include "common/array.h" 37 class BaseSoundBuffer;
40 float posToPan(
int x,
int y);
42 bool pauseAll(
bool includingMusic =
true);
45 byte getMasterVolumePercent();
46 byte getMasterVolume();
47 bool setMasterVolumePercent(byte percent);
48 byte getVolumePercent(TSoundType type);
49 bool setVolumePercent(TSoundType type, byte percent);
50 bool setVolume(TSoundType type,
int volume);
53 BaseSoundBuffer *addSound(
const char *filename, TSoundType type = TSoundType::SOUND_SFX,
bool streamed =
false, uint32 initialPrivateVolume = 100);
54 bool addSound(
BaseSoundBuffer *sound, TSoundType type = TSoundType::SOUND_SFX);
Definition: base_game.h:79
Definition: coll_templ.h:347
Definition: base_sound_buffer.h:43
Definition: base_sound_manager.h:38
Definition: achievements_tables.h:27