AXSetVoiceSamplesAddr

Syntax

#include <cafe.h>
#include <cafe/ax.h>

void AXSetVoiceSamplesAddr(AXVPB *p, const void *samples);

Parameters

p Pointer to the voice.
samples Pointer to the new buffer containing the input samples.

Return Values

None.

Description

Changes the effective base address in AXPBOFFSET structure of the voice. All existing offsets in the structure are updated so that they are relative to samples and lead to the same memory addresses that they did before the change. After the base address is set, all sample offsets for the voice will be relative to this new base address.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 Yes

Do Not Call From

None.

See Also

AXPBOFFSET
AXPBADPCM
AXGetVoiceOffsets

Revision History

2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup Pass.
2012/03/05 Update to Audio API v2.0.


CONFIDENTIAL