AXSetVoiceEndOffsetEx DEPRECATED

Syntax

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

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

Parameters

p Pointer to the voice.
offset Offset, in sample words.
samples Pointer to sound effect buffer to which offset applies.

Return Values

None.

Description

Specifies the end location offset for the given voice. The location is an offset in sample words relative to the start of the sound effect buffer specified by samples (counting from zero).

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 AXSetVoiceEndOffset.

Do Not Call From

Deprecated Do not call this function in new code.

See Also

AXPBOFFSET
Streaming Overview
AXSetVoiceEndOffset
AXGetVoiceOffsets
AXGetVoiceOffsetsEx
AXSetVoiceLoopOffset
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