AXSetMultiVoiceState

Syntax

#include <cafe/ax.h>

#define AX_PB_STATE_STOP    0
#define AX_PB_STATE_RUN     1

void AXSetMultiVoiceState(AXMVPB *mv, u16 state);

Parameters

mv Pointer to the multi-voice.
state Operating state of the voice.

Return Values

None.

Description

Sets the multi-voice to run or stop. The renderer may also change the multi-voice state. For example, after a non-looping multi-voice has reached the end offset of the sound effect, the voice will automatically stop.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 No

Do Not Call From

None.

See Also

AXIsVoiceRunning
AXSetVoiceLoop

Revision History

2013/11/15 Add related links
2013/10/20 Initial Version


CONFIDENTIAL