#include <cafe.h> #include <cafe/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 a user-initialized
|state||State to set the sequence to.|
SEQSetState sets the specified sequence to the desired state.
2013/05/08 Automated cleanup pass.
2006/03/01 Initial version.