AXSetVoiceState

Syntax

#include <revolution/ax.h>

#define AX_PB_STATE_STOP    0
#define AX_PB_STATE_RUN     1

void AXSetVoiceState(AXVPB *pvpb, u32 state);

Arguments

pvpb Pointer to the specified voice.
state Voice state to be set. See Syntax for definitions.

Return Values

None.

Description

The AXSetVoiceState function sets the voice to run or stop. This function also asserts the synchronization flag corresponding to axvpb.sync.

See Also

axvpb.pb.state

Revision History

2006/03/01 Initial version.


CONFIDENTIAL