Skip to main content

SetShapeXmaLoopEndOffset

Sets the end offset of the XMA context loop.

Syntax

Parameters

context   _Inout_
Type: SHAPE_XMA_CONTEXT*
Pointer to a SHAPE_XMA_CONTEXT object. offset   
Type: UINT32
The offset, in bits, from the read-buffer pointer, where decoding is to end.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

For guidance on XMA context loops, see Guidelines for using SRC for PCM and XMA data in ACP overview. To get the current end offset, use GetShapeXmaLoopEndOffset. For more information, see the XMA section of Overview of SHAPE.

Requirements

Header: shapexmacontext.h Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

ShapeXmaContext
Last modified on August 20, 2026