SEQSetState

Syntax

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

Parameters

sequence Pointer to a user-initialized SEQSEQUENCE.
state State to set the sequence to.

Return Values

None.

Description

SEQSetState sets the specified sequence to the desired state.

Do Not Call From

None.

See Also

SEQGetState

Revision History

2013/05/08 Automated cleanup pass.
2006/03/01 Initial version.


CONFIDENTIAL