ScummVM API documentation
Myst3::Sound Class Reference

Public Member Functions

 Sound (Myst3Engine *vm)
 
SoundChannelgetChannelForSound (uint32 id, SoundType type, bool *found=nullptr)
 
void playEffect (uint32 id, uint32 volume, uint16 heading=0, uint16 attenuation=0)
 
void playEffectLooping (uint32 id, uint32 volume, uint16 heading=0, uint16 attenuation=0)
 
void playEffectFadeInOut (uint32 id, uint32 volume, uint16 heading, uint16 attenuation, uint32 fadeInDuration, uint32 playDuration, uint32 fadeOutDuration)
 
void stopEffect (uint32 id, uint32 fadeDuration)
 
void playCue (uint32 id, uint32 volume, uint16 heading, uint16 attenuation)
 
void stopCue (uint32 fadeDelay)
 
void stopMusic (uint32 fadeDelay)
 
bool isPlaying (uint32 id)
 
int32 playedFrames (uint32 id)
 
void update ()
 
void age ()
 
void fadeOutOldSounds (uint32 fadeDelay)
 
void computeVolumeBalance (int32 volume, int32 heading, uint attenuation, int32 *mixerVolume, int32 *balance)
 
void setupNextSound (SoundNextCommand command, int16 controlVar, int16 startSoundId, int16 soundCount, int32 soundMinDelay, int32 soundMaxDelay, int32 controlSoundId=0, int32 controlSoundMaxPosition=0)
 
void resetSoundVars ()
 

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