AXSetVoiceOffsetsEx DEPRECATED

Syntax

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

void AXSetVoiceOffsetsEx(AXVPB *p, const AXPBOFFSET *addr, const void *samples);

Parameters

p Pointer to the voice.
addr Pointer to structure of type AXPBOFFSET.
samples Pointer to sound effect buffer.

Return Values

None.

Description

Applies the parameters addr to the voice p. This sets the address range for the samples that a voice will play.

This function will also update the base samples address of the voice's parameter block. This is useful for implementing the buffering and addressing mechanisms for streaming voices.

NOTE:
This function is deprecated. Instead, see AXSetVoiceSamplesAddr and AXSetVoiceOffsets.

Do Not Call From

Deprecated Do not call this function in new code.

See Also

AXPBOFFSET
AXSetVoiceSamplesAddr
AXSetVoiceOffsets

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