| Miles Sound System SDK 7.2a |
The function AIL_set_stream_loop_count arranges for a stream to be restarted immediately upon completion, for a total of two or more iterations.
void AIL_set_stream_loop_count( HSTREAM stream, S32 loop_count ); |
A loop_count value of 1 results in a single iteration, with no looping. This is the default loop count value, as initialized by AIL_open_stream.
A loop_count value of 0 creates an infinite loop, which can be interrupted by calling AIL_pause_stream or by calling AIL_set_stream_loop_count to establish a different loop count.
loop_count values of 2 or more cause the stream to be played a total of 2 or more times. The current number of iterations remaining may be monitored with AIL_stream_loop_count.
Group:
Digital Audio Streaming Services
Related Functions:
AIL_open_stream, AIL_pause_stream, AIL_set_sample_loop_count, AIL_set_stream_loop_block, AIL_set_stream_loop_count, AIL_stream_loop_count
Related Basic Types:
HSTREAM, S32, void
Related FAQs:
I'm getting a glitch when I loop an MP3 or ADPCM file - what can I do?, What MP3 encoder should I use?
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.