axvpb.pb.state

Syntax

#define AX_PB_STATE_STOP    0x0000
#define AX_PB_STATE_RUN     0x0001

u16 state;

Description

The state parameter sets the voice to run or stop. Either the user or the DSP may change the state of a voice.

The DSP will change the state of a "one-shot" voice to AX_PB_STATE_STOP, upon reaching the end address of a sample. A "looping" voice will play until the user sets state to AX_PB_STATE_STOP.

The user must assert the AX_SYNC_USER_STATE bit synchronization flag in axvpb.sync, when state is changed.

See Also

axvpb.sync, AXSetVoiceState

Revision History

2006/03/01 Initial version.


CONFIDENTIAL