SoundStreamer::StartStream
Defined in:
Called to prepare a stream for playing.
C4Sound.h
Prototype
virtual SoundResult StartStream(void) = 0;
Description
The Sound Manager calls the StartStream
function when the sound to which the streamer is assigned is played. The StartStream
function must be implemented by each subclass of the SoundStreamer
class, and it should do whatever is necessary to prepare the stream for playing. The StartStream
function is called before the first call to SoundStreamer::FillBuffer
is made.The return value should be
kSoundOkay
if the function is successful.
See Also