ScummVM API documentation
Director::DirectorSound Class Reference

Public Member Functions

 DirectorSound (Window *window)
 
SoundChannelgetChannel (int soundChannel)
 
void playFile (Common::String filename, int soundChannel)
 
void playMCI (Audio::AudioStream &stream, uint32 from, uint32 to)
 
void playStream (Audio::AudioStream &stream, int soundChannel)
 
void playSound (SoundID soundId, int soundChannel, bool forPuppet=false)
 
void playCastMember (CastMemberID memberID, int soundChannel, bool forPuppet=false)
 
void playExternalSound (uint16 menu, uint16 submenu, int soundChannel)
 
void playFPlaySound (const Common::Array< Common::String > &fplayList)
 
void playFPlaySound ()
 
void setSoundEnabled (bool enabled)
 
void systemBeep ()
 
void changingMovie ()
 
void loadSampleSounds (uint type)
 
void unloadSampleSounds ()
 
bool isChannelPuppet (int soundChannel)
 
void setPuppetSound (SoundID soundId, int soundChannel)
 
void disablePuppetSound (int soundChannel)
 
void playPuppetSound (int soundChannel)
 
bool getSoundEnabled ()
 
Common::String getCurrentSound ()
 
void registerFade (int soundChannel, int startVol, int targetVol, int ticks, bool autoStop=false)
 
void registerFade (int soundChannel, bool fadeIn, int ticks, bool autoStop=false)
 
bool fadeChannels ()
 
bool isChannelActive (int soundChannel)
 
uint8 getChannelVolume (int soundChannel)
 
void setChannelVolume (int channel, uint8 volume)
 
int8 getChannelBalance (int soundChannel)
 
void setChannelBalance (int soundChannel, int8 balance)
 
uint8 getChannelFaderL (int soundChannel)
 
void setChannelFaderL (int soundChannel, uint8 faderL)
 
uint8 getChannelFaderR (int soundChannel)
 
void setChannelFaderR (int soundChannel, uint8 faderR)
 
void stopSound (int soundChannel)
 
void stopSound ()
 
void setChannelDefaultVolume (int soundChannel)
 
void setChannelPitchShift (int soundChannel, int pitchShiftPercent)
 

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