ScummVM API documentation
Sky::Sound Class Reference

Public Member Functions

 Sound (Audio::Mixer *mixer, Disk *pDisk, uint8 pVolume)
 
void loadSection (uint8 pSection)
 
void playSound (uint16 sound, uint16 volume, uint8 channel)
 
void fnStartFx (uint32 sound, uint8 channel)
 
bool startSpeech (uint16 textNum)
 
bool speechFinished ()
 
void fnPauseFx ()
 
void fnUnPauseFx ()
 
void fnStopFx ()
 
void stopSpeech ()
 
void checkFxQueue ()
 
void restoreSfx ()
 

Public Attributes

Audio::Mixer_mixer
 
Audio::SoundHandle _voiceHandle
 
Audio::SoundHandle _effectHandle
 
Audio::SoundHandle _bgSoundHandle
 
Audio::SoundHandle _ingameSound0
 
Audio::SoundHandle _ingameSound1
 
Audio::SoundHandle _ingameSpeech
 
uint16 _saveSounds [2]
 
uint8 _soundsTotal
 

Protected Member Functions

void playSound (uint32 id, byte *sound, uint32 size, Audio::SoundHandle *handle)
 

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