Defined in:Called when a stream is looped.
virtual SoundResult StartStreamComponent(int32 index);
||The index of the component at which to continue the stream.|
DescriptionThe Sound Manager calls the
StartStreamComponentfunction when the sound to which the streamer is assigned loops. The
indexparameter specifies the zero-based index of the component at which the stream should continue playing and is equal to the value set by the
Sound::SetLoopIndexfunction. If the index is greater than or equal to the number of components, then the stream should restart at the first component. By default, the
StartStreamComponentfunction simply calls the
The return value should be
kSoundOkayif the function is successful.