Public Member Functions | |
Sound (Audio::Mixer *mixer) | |
Public Member Functions inherited from MM::Shared::Xeen::Sound | |
Sound (Audio::Mixer *mixer) | |
void | playFX (uint effectId) |
void | stopFX (bool force=false) |
int | songCommand (uint commandId, byte musicVolume=0, byte sfxVolume=0) |
void | stopSong () |
void | setMusicPercent (byte percent) |
void | playSong (Common::SeekableReadStream &stream) |
void | playSong (const Common::Path &name, int param=0) |
bool | isMusicPlaying () const |
void | setMusicOn (bool isOn) |
void | setFxOn (bool isOn) |
void | updateSoundSettings () |
void | stopAllAudio () |
void | playSound (Common::SeekableReadStream &s, int unused=0) |
void | playSound (const Common::Path &name, int unused=0) |
void | stopSound () |
bool | isSoundPlaying () const |
void | playVoice (const Common::Path &name) |
Static Public Member Functions | |
static void | sound (SoundId soundNum) |
static void | sound2 (SoundId soundNum) |
static void | stopSound () |
Additional Inherited Members | |
Public Attributes inherited from MM::Shared::Xeen::Sound | |
bool | _fxOn |
bool | _musicOn |
Common::Path | _currentMusic |
int | _musicSide |
bool | _subtitles |
MusicType | musicType |