SoundChannel::GetSample

SoundChannel::GetSample
virtual SoundSample* GetSample() const = 0;
Description

GetSample obtains the sound sample that was used to create this sound channel. GetSample can return 0 if this channel has not been associated with any sound samples (in case if a separate sound system is used to play a sound track from a video file).

Return Value

Pointer to sound sample object, SoundSample, if this sample created the sound channel otherwise 0.