| Miles Sound System SDK 7.2a |
The function AIL_set_stream_loop_block arranges for a sub-block of a stream to be looped.
void AIL_set_stream_loop_block( HSTREAM stream, S32 loop_start_offset, S32 loop_end_offset ); |
By default, looping a sound will loop the entire stream. This function allows you to loop a smaller sub-section of the stream.
If the stream data is compressed, then the offset passed to this function is in "compressed" bytes.
A value of zero for loop_start_offset indicates the beginning of the stream, and a value of -1 for loop_end_offset indicates the end of the stream, regardless of its actual length.
Group:
Digital Audio Streaming Services
Related Functions:
AIL_set_sample_loop_block, AIL_set_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.