alCSeqNextEvent (function)

alCSeqNextEvent, n_alCSeqNextEvent

Returns the next MIDI event from the compressed MIDI sequence


#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);


Pointer to the sequence to get the event from

Pointer to an event structure to copy next event into


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


Revision History

1999/04/30 Changed Format