AXGetVoiceOffsetsEx DEPRECATED

Syntax

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

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

Parameters

p Pointer to the voice.
addr Pointer to a structure of type AXPBOFFSET.
samples Pointer to the base address from which the offsets are calculated.

Return Values

None.

Description

Retrieves the current voice address parameters and places them into the structure referenced by addr.

The offsets retrieved by this function will be the current offsets relative to the samples parameter, rather than the base sample address that the voice is currently using.

This function is useful for arbitrating the buffering and addressing mechanisms for streaming voices.

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

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 Yes

Do Not Call From

Deprecated Do not call this function in new code.

See Also

AXPBOFFSET
Streaming Overview
AXSetVoiceOffsets
AXSetVoiceCurrentOffset
AXSetVoiceLoopOffset
AXSetVoiceEndOffset
AXSetVoiceOffsetsEx
AXSetVoiceCurrentOffsetEx
AXSetVoiceLoopOffsetEx
AXSetVoiceEndOffsetEx

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