Skip to main content

ACP_COMMAND_UPDATE_XMA_READ_BUFFER

Updates all the elements of a SHAPE_XMA_CONTEXT required to stream encoded data.

Syntax

Members

contextIndex
Type: UINT32
Index of a context to be updated. bufferIndex
Type: UINT32
0 = left input buffer, 1 = right input buffer. bufferSize
Type: UINT32
Size of the buffer. changeSize
Type: UINT32
0 = keep the original size, 1 = use a new size. changeAddress
Type: UINT32
0 = keep the original address, 1 = use a new address. bufferAddress
Type: APU_ADDRESS
Physical address of the buffer.

Remarks

This structure is used by the ACP_COMMAND_TYPE_UPDATE_XMA_READ_BUFFER command. The read offset cannot be updated if the context is in use by SHAPE. See the XMA utilities section of Overview of ACP for associated commands.

Requirements

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

See also

ACP_COMMAND_TYPE
SubmitCommand
AcpHal
Last modified on August 20, 2026