SoundStreamer::GetStreamFrameCount
Defined in:
Called to retrieve the total frame count for a stream.
C4Sound.h
Prototype
virtual int32 GetStreamFrameCount(void);
Description
The Sound Manager calls the GetStreamFrameCount
function when it needs to know the total number of audio frames contained in a stream. By default, this function returns zero, which means that the length of the stream is indefinite. Subclasses of the SoundStreamer
class should implement an override of the GetStreamFrameCount
function when the length of the audio stream can be determined.