AXSetVoiceLoopOffsetEx DEPRECATED

Syntax

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

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

Parameters

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

Return Values

None.

Description

Applies the loop-start location offset for the specified voice. The location is expressed as an offset in sample words from the beginning of the sound effect data (counting from zero) specified by samples.

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

Do Not Call From

Deprecated Do not call this function in new code.

See Also

AXPBOFFSET
Streaming Overview
AXSetVoiceLoopOffset
AXGetVoiceOffsets
AXGetVoiceOffsetsEx

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