AXSetMultiVoiceLoop

Syntax

#include <cafe/ax.h>

#define AXPBADDR_LOOP_OFF   0
#define AXPBADDR_LOOP_ON    1

void AXSetMultiVoiceLoop (AXMVPB *mv, u16 loop);

Parameters

mv Pointer to the specified multi-voice.
loop Either AXPBADDR_LOOP_OFF or AXPBADDR_LOOP_ON.

Return Values

None.

Description

Sets the loop flag for a specified multi-voice. If AXPBADDR_LOOP_ON is asserted, the multi-voice will loop according to the parameters conveyed by the AXPBOFFSET data structure: when endOffset is reached, playback will continue from loopOffset. If AXPBADDR_LOOP_OFF is asserted, the multi-voice will play until the end offset is reached and terminate.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 No

Do Not Call From

None.

See Also

AXPBOFFSET
AXSetMultiVoiceOffsets
AXSetMultiVoiceLoopOffset

Revision History

2013/11/15 Initial version.


CONFIDENTIAL