Miles Sound System SDK 7.2a

AIL_active_sequence_count

The function AIL_active_sequence_count returns the number of currently-playing sequences.

S32 AIL_active_sequence_count(
  HMDIDRIVER mdi
);

In Parameters

mdi
specifies the XMIDI driver whose active sequence count is to be returned to the application.

Returns

The number of allocated sequence handles whose status is SEQ_PLAYING.

Discussion

This function provides a convenient alternative to calling AIL_sequence_status from within a loop to determine if any sequences are currently playing.

Example files that use this function: XMIPLAY.C


Group: XMIDI Services
Related Functions: AIL_sequence_status, AIL_start_sequence
Related Basic Types: HMDIDRIVER, MILES_SEQUENCE_STATUS, S32

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