Skip to main content

SetShapeXmaCurrentInputBuffer

Sets the current input buffer.

Syntax

Parameters

context   _Inout_
Type: SHAPE_XMA_CONTEXT*
Pointer to a SHAPE_XMA_CONTEXT object. currentBuffer   
Type: UINT32
The current input buffer. 0 specifies the left buffer, and 1 specifies the right buffer.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

To set the address of the left input buffer, use SetShapeXmaInputBuffer0(SHAPE_XMA_CONTEXT*, const void*) or SetShapeXmaInputBuffer0(SHAPE_XMA_CONTEXT*, APU_ADDRESS). To set the address of the right input buffer, use SetShapeXmaInputBuffer1(SHAPE_XMA_CONTEXT*, const void*) or SetShapeXmaInputBuffer1(SHAPE_XMA_CONTEXT*, APU_ADDRESS). To get the current input buffer, use GetShapeXmaCurrentInputBuffer. 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