| Miles Sound System SDK 7.2a |
The function AIL_set_stream_position adjusts the playback position of a stream.
void AIL_set_stream_position( HSTREAM stream, S32 pos ); |
By means of this function, it is possible to instantaneously change the location from which stream data is being played. The change will take effect as soon as the next block of audio data from the sample is merged into the hardware buffer.
If the stream data is compressed, then the offset passed to this function is in "compressed" bytes.
You can position based on milliseconds with the AIL_set_stream_ms_position function.
Group:
Digital Audio Streaming Services
Related Functions:
AIL_set_sample_loop_block, AIL_set_sample_position, AIL_set_stream_ms_position, AIL_stream_position
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?
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.