Scaleform::Sound::SoundChannel
class SoundChannel : public RefCountBase<SoundChannel,Stat_Sound_Mem>;
SoundChannel represents an active (playing) sound and is used to control its attributes such as volume level, and status (paused, stopped or playing).
SoundChannel is created by calls to SoundRenderer::PlaySample.
Method |
Description |
Obtains the current pan of the sound. | |
Obtains the currently playing position in the sound data. | |
Obtains the sound sample that was used to create this sound channel. | |
Obtains the sound renderer that created this sound channel. | |
Retrieves the current volume level of the sound. | |
Determines whether the active sound has stopped playing or not. | |
Sets the sound's loop attributes to play repeatedly for a specific number of times. | |
Pauses/resumes the active sound. | |
SetPan sets the currrent pan of the sound. | |
Sets the playing position (in seconds) in the sound data. | |
Sets the sound spatial information such as position, orientation and velocity. | |
Sets a volume level transformation vector to transform attributes of the sound. | |
Sets the current volume level at which the sound data is to be played. | |
Initializes the SoundChannel object. | |
Stops the active sound. |
Sound_SoundRenderer.h