AXGetVoiceCurrentOffsetEx DEPRECATED

Syntax

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

u32 AXGetVoiceCurrentOffsetEx(AXVPB *p, const void *samples);

Parameters

p Pointer to the voice.
samples Pointer to the base of the relevant sound effect buffer.

Return Values

Integer offset, in samples.

Description

Returns the current playback offset, in samples, relative to the base of the sound effect data samples.

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

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

Do Not Call From

Deprecated Do not call this function in new code.

See Also

AXPBOFFSET
Streaming Overview
AXSetVoiceOffsets
AXSetVoiceCurrentOffset
AXSetVoiceLoopOffset
AXSetVoiceEndOffset
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