ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Darkseed::Sound Class Reference

Public Member Functions

 Sound (Audio::Mixer *mixer)
 
int init ()
 
Common::Error sync (Common::Serializer &s)
 
bool isMuted () const
 
void playTosSpeech (int tosIdx)
 
void stopSpeech ()
 
bool isPlayingSpeech () const
 
bool isPlayingSfx () const
 
bool isPlayingMusic ()
 
void resetSpeech ()
 
void playMusic (MusicId musicId, bool loop=true)
 
void playMusic (StartMusicId musicId)
 
void playMusic (Common::String const &filename, Common::String const *instrBankFilename=nullptr, uint8 priority=0xFF, bool loop=false)
 
void stopMusic ()
 
void pauseMusic (bool pause)
 
void playSfx (uint8 sfxId, int unk1, int unk2)
 
void stopSfx ()
 
void syncSoundSettings ()
 
void killAllSound ()
 
void startFadeOut ()
 
bool isFading ()
 

The documentation for this class was generated from the following file: