Defined in:Establishes a streaming source for a
SoundResult StreamSound(SoundStreamer *streamer);
||The streamer object to associate with the sound.|
StreamSoundfunction assigns the
SoundStreamerobject specified by the
streamerparameter to a sound object. The sound streamer should be allocated on the heap before calling this function, but once
StreamSoundhas been called, the sound object owns the sound streamer and will delete it automatically at the appropriate time.
A sound is made persistent when the
StreamSoundfunction is called, meaning that it must be explicitly destroyed when it is no longer in use.