ScummVM API documentation
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 isPlayingSfx (uint8 sfxId) const
 
bool isPlayingMusic ()
 
void resetSpeech ()
 
void resetIndividualSpeech (int tosIdx)
 
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, uint8 priority, int unk2)
 
void playDosFloppySfx (byte sfxId, uint8 priority)
 
void stopSfx ()
 
bool isUsingCdSfx () const
 
bool isUsingFloppySfx () const
 
void syncSoundSettings ()
 
void killAllSound ()
 
void startFadeOut ()
 
bool isFading ()
 

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