Miles Sound System SDK 7.2a

AIL_stream_ms_position

The function AIL_stream_ms_position reports the total length and the current playback position of a stream.

void AIL_stream_ms_position(
  HSTREAM stream,
  S32 *total_milliseconds,
  S32 *current_milliseconds
);

In Parameters

stream
indicates the stream whose position information is to be reported.

Out Parameters

total_milliseconds
is the address to place the total length of the stream into. If you don't need the total length, pass a NULL for this parameter.
current_milliseconds
is the address to place the current millisecond position into. This value increases as the sample is played. If you don't need the current position, pass a NULL for this parameter.


Group: Digital Audio Streaming Services
Related Functions: AIL_set_stream_ms_position, AIL_stream_position
Related Basic Types: HSTREAM, S32, void

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.