#include <revolution.h>
#include <revolution/seq.h>
#define SEQ_STATE_STOP 0 //stops playback, rewinds all tracks
#define SEQ_STATE_RUN 1 //runs sequence
#define SEQ_STATE_RUNLOOPED 2 //runs sequence, will loop tracks
#define SEQ_STATE_PAUSE 3 //stops playback, does not rewind tracks
void SEQSetState(SEQSEQUENCE *sequence, u32 state);
| sequence | pointer to user-initialized SEQSEQUENCE |
| state | state to set the sequence to |
None.
This function sets the specified sequence to the desired state.
2006/03/01 Initial version.
CONFIDENTIAL