AXSetVoiceCurrentOffsetEx DEPRECATED

Syntax

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

void AXSetVoiceCurrentOffsetEx(AXVPB *p, u32 offset, const void *samples);

Parameters

p Pointer to the voice.
offset Offset to new current sample.
samples Pointer to sound effect buffer to which offset applies.

Return Values

None.

Description

Applies a new location within the buffer samples from which to continue rendering. The location offset is specified in sample words from the start of samples (counting from zero).

This function differs from AXSetVoiceCurrentOffset in that the sound effect buffer samples must also be specified in the argument list.

This function will 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 AXSetVoiceCurrentOffset.

Do Not Call From

Deprecated Do not call this function in new code.

See Also

AXPBOFFSET
Streaming Overview
AXGetVoiceCurrentOffsetEx
AXSetVoiceCurrentOffset
AXSetVoiceOffsets
AXSetVoiceEndOffset
AXSetVoiceLoopOffset
AXSetVoiceOffsetsEx
AXSetVoiceEndOffsetEx
AXSetVoiceLoopOffsetEx

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