AXSetVoiceState

C Specification

#include <revolution.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 C Specification for definitions.

Return Values

None.

Description

AXSetVoiceState() sets the voice to run or stop. This function also asserts the appropriate synchronization flags in axvpb.sync.

See Also

axvpb.pb.state

Revision History

2006/03/01 Initial version.


CONFIDENTIAL