alSeqNextEvent (function)

alSeqNextEvent, n_alSeqNextEvent

Returns the next MIDI event in the sequence

Syntax

#include <libaudio.h>     /* libaudio.h */
void alSeqNextEvent(  ALSeq *seq,   ALEvent *event);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alSeqNextEvent(ALSeq *seq, N_ALEvent *event);

Arguments

seq
Pointer to the sequence that holds the event you want to get

event
Pointer to the ALEvent structure to return the event in

Description

alSeqNextEvent returns the pointer to the next MIDI event in the sequence. By repeatedly calling this function, you can step through the sequence.

Note that if you are using the Sequence Player, you don't 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

alSeqNew, alSeqSetLoc

Revision History

1999/04/30 Changed Format