|
| Sound (Audio::Mixer *mixer) |
|
void | playSound (int num, uint channel=0, uint16 loops=1, uint16 volume=63, uint16 balance=63) |
|
void | playSound (uint8 *data, uint32 size, uint channel=0, uint16 loops=1, uint16 volume=63, uint16 balance=63, DisposeAfterUse::Flag dispose=DisposeAfterUse::YES) |
|
void | pauseSound (uint channel) |
|
void | resumeSound (uint channel) |
|
void | stopSound (uint channel=0) |
|
void | stopAllSounds () |
|
bool | isSoundActive (uint channel) const |
|
void | setUserSoundVolume (uint volume) |
|
int | getUserSoundVolume () const |
|
void | setSoundChannelVolume (uint channel, uint volume) |
|
void | setSoundChannelBalance (uint channel, int8 balance) |
|
void | playMusic (int16 num, bool loop=false) |
|
void | playMusic (uint8 *data, uint32 size, uint8 volume=63) |
|
void | pauseMusic () |
|
void | resumeMusic () |
|
void | stopMusic () |
|
bool | isMusicActive () const |
|
void | setUserMusicVolume (uint volume) |
|
int | getUserMusicVolume () const |
|
void | setActiveMusicVolume (uint8 volume) |
|
void | playRoomMusic (int16 roomNum) |
|
void | playSpeech (int num, bool waitForFinish, uint16 balance=63) |
|
void | pauseSpeech () |
|
void | resumeSpeech () |
|
void | stopSpeech () |
|
bool | isSpeechActive () const |
|
void | setSpeechBalance (uint16 balance=63) |
|
void | stopAll () |
|
void | waitForSpeechToFinish () |
|
bool | soundEnabled () const |
|
void | toggleSound (bool enable) |
|
bool | musicEnabled () const |
|
void | toggleMusic (bool enable) |
|
bool | speechEnabled () const |
|
void | toggleSpeech (bool enable) |
|
bool | subtitlesEnabled () const |
|
void | toggleSubtitles (bool enable) |
|
void | syncSoundSettings () |
|