Miles Sound System SDK 7.2a

AIL_start_sequence

The function AIL_start_sequence starts playback of a sequence from its beginning.

void AIL_start_sequence(
  HSEQUENCE S
);

In Parameters

S
indicates the sequence to start playing.

Discussion

AIL_resume_sequence is usually used to resume playback that has been stopped with a call to AIL_stop_sequence, but it can also be used to start a sequence without the playback position being reset to the beginning of the song.

At a minimum, the sequence handle must be initialized with AIL_init_sequence prior to starting playback of a sequence.

Example files that use this function: XMIPLAY.C


Group: XMIDI Services
Related Functions: AIL_active_sequence_count, AIL_allocate_sequence_handle, AIL_end_sequence, AIL_init_sequence, AIL_register_sequence_callback, AIL_resume_sequence, AIL_sequence_position, AIL_sequence_status, AIL_stop_sequence
Related Basic Types: HSEQUENCE, void
Related FAQs: How do I play an XMIDI or MIDI file?, How do I start an audio file somewhere in the middle?

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