ScummVM API documentation
Myst3::SoundChannel Class Reference

Public Member Functions

 SoundChannel (Myst3Engine *vm)
 
void play (uint32 id, uint32 volume, uint16 heading, uint16 attenuation, bool loop, SoundType type)
 
void setVolume3D (uint32 volume, uint16 heading, uint16 attenuation)
 
void fade (uint32 targetVolume, int32 targetHeading, int32 targetAttenuation, uint32 fadeDelay)
 
void fadeOut (uint32 fadeDelay)
 
void update ()
 
void stop ()
 
void age (uint32 maxAge)
 
uint32 playedFrames ()
 
uint32 adjustVolume (uint32 volume)
 

Public Attributes

uint32 _id
 
bool _playing
 
bool _stopWhenSilent
 
bool _fading
 
SoundType _type
 
uint32 _age
 
uint32 _ambientFadeOutDelay
 
uint _fadeLastTick
 
int32 _fadeDuration
 
int32 _fadePosition
 
int32 _fadeSourceVolume
 
int32 _fadeTargetVolume
 
int32 _fadeSourceHeading
 
int32 _fadeTargetHeading
 
int32 _fadeSourceAttenuation
 
int32 _fadeTargetAttenuation
 
bool _hasFadeArray
 
uint32 _fadeArrayPosition
 
uint32 _fadeDurations [4]
 
uint32 _fadeVolumes [4]
 

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