AXSetMultiVoiceType

Syntax

#include <cafe/ax.h>

#define AX_PB_TYPE_NORMAL   0x0000
#define AX_PB_TYPE_STREAM   0x0001

void AXSetMultiVoiceType(AXMVPB *mv, u16 type);

Parameters

mv Pointer to the multi-voice.
type
AX_PB_TYPE_NORMAL This is the default.
AX_PB_TYPE_STREAM For streaming voices.

Return Values

None.

Description

Applies type to the multi-voice mv.

This must be set to AX_PB_TYPE_STREAM when streaming voices in ADPCM format. For more information, see the Voice Type section in the AX Overview.

NOTE:
When processing the last buffer of the stream or if the voice is dropped, voice type needs to be set to AX_PB_TYPE_NORMAL.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 No

Do Not Call From

None.

See Also

Streaming Overview
AXPBADPCMLOOP

Revision History

2013/10/20 Initial Version


CONFIDENTIAL