Skip to main content

SetShapeXmaOverlapAddBuffer(SHAPE_XMA_CONTEXT*, APU_ADDRESS)

Sets the address of the overlap-add buffer.

Syntax

Parameters

context   _Inout_
Type: SHAPE_XMA_CONTEXT*
Pointer to a SHAPE_XMA_CONTEXT object. buffer   _In_
Type: APU_ADDRESS
Physical address of the overlap-add buffer.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

The size of the overlap-add buffer must be 256 bytes for mono or 512 bytes for stereo. To set the address of the overlap-add buffer by using a pointer, use SetShapeXmaOverlapAddBuffer(SHAPE_XMA_CONTEXT*, void*). To get the current size of the overlap-add buffer, use GetShapeXmaOverlapAddBuffer. 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