SEQSetState

Syntax

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

Arguments

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.

See Also

SEQGetState

Revision History

2006/03/01 Initial version.


CONFIDENTIAL