SEQSetState

C Specification

#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 user-initialized SEQSEQUENCE
state state to set the sequence to

Return Values

None.

Description

This function sets the specified sequence to the desired state.

See Also

SEQGetState

Revision History

2006/03/01 Initial version.


CONFIDENTIAL