AXSetVoiceSrc

Syntax

#include <cafe/ax.h>

void AXSetVoiceSrc(AXVPB *p, const AXPBSRC *src);

Parameters

p Pointer to the voice.
src Pointer to the application-initialized AXPBSRC data structure.

Return Values

None.

Description

Initializes the front-end pitch bender (sample rate converter) for the specified voice. After the voice is running, use the AXSetVoiceSrcRatio function to modify the pitch. The rate at which a voice's samples are played will be multiplied by its SRC ratio, causing a corresponding change in pitch.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 Yes

Do Not Call From

None.

See Also

AXPBSRC
AXSetVoiceSrcRatio
AXSetVoiceSrcType

Revision History

2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup Pass.
2012/01/26 Update to Audio API v2.0.
2011/02/21 Initial Version


CONFIDENTIAL