alCSeqNextEvent (function)

alCSeqNextEvent, n_alCSeqNextEvent

Returns the next MIDI event from the compressed MIDI sequence

Syntax

#include <libaudio.h>     /* libaudio.h */
void *alCSeqNextEvent( ALCSeq *seq,   ALEvent *event);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alCSeqNextEvent(ALCSeq *seq, N_ALEvent *event);

Arguments

seq
Pointer to the sequence to get the event from

event
Pointer to an event structure to copy next event into

Description

alCSeqNextEvent copies the next MIDI event into the structure pointed to by the evt argument.

alCSeqNextEvent returns a pointer to the next available MIDI event in the sequence. Repeatedly calling this function will step through the sequence.

Note that if you are using the Compressed MIDI Sequence Player, you will not need to call this function. The Sequence Player will do it for you.

For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.

See Also

alCSeqNew

Revision History

1999/04/30 Changed Format