Miles Sound System SDK 7.2a

AIL_sequence_ms_position

The function AIL_sequence_ms_position returns the current playback position and length of the sequence in milliseconds.

void AIL_sequence_ms_position(
  HSEQUENCE S,
  S32 *total_milliseconds,
  S32 *current_milliseconds
);

In Parameters

S
indicates the sequence for which position information is desired.

Out Parameters

total_milliseconds
if not NULL, should point to a long integer into which will be stored the total length of the sequence.
current_milliseconds
if not NULL, should point to a long integer into which will be stored the current playback position in milliseconds.

Returns

The total milliseconds and the current milliseconds values are stored in the variables pointed to by the parameters *total_milliseconds and *current_milliseconds.

Discussion

This function is usually more convenient that the beat and measure values returned by the AIL_sequence_position function.


Group: XMIDI Services
Related Functions: AIL_branch_index, AIL_sequence_position, AIL_set_sequence_ms_position
Related Basic Types: HSEQUENCE, S32, void

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