Skip to main content

SHAPE_FLOWGRAPH_SRC_COMMAND

Indicates that a sample rate conversion (SRC) pass is needed.

Syntax

Members

command
Type: UINT64
The SHAPE_FLOWGRAPH_COMMAND_TYPE_SRC command from SHAPE_FLOWGRAPH_COMMAND_TYPE. queued
Type: UINT64
Internal process flag: 1 == inserted into internal command queue, 0 == still waiting. disabled
Type: UINT64
Flag to disable the conversion: 1 == disabled (don’t process), 0 == enabled (process normally). error
Type: UINT64
Command is invalid by the Audio Control Processor (ACP). reserved0
Type: UINT64
Reserved. contextId
Type: UINT64
Context ID. mixBuffer0
Type: UINT64
Output mix buffer for channel 0 (normally left / mono). mixBuffer1
Type: UINT64
Output mix buffer for channel 1 (normally right). reserved1
Type: UINT64
Reserved.

Remarks

SRC operates in one of two modes.
  • MONO mode data is read from system memory on a sample-by-sample basis and written (after SRC) to a mix buffer.
  • STEREO mode data is interpreted as interleaved (left/right) stereo PCM data; each channel is output to a separate mix buffer. This allows for greatest performance with a minimum of memory re-reads.
The SRC command is dispatched to the SRC hardware block for execution. The input data for the SRC block is specified in the SRC or XBOX Media Audio (XMA) contexts and always resides in system memory. The output of the SRC always goes to one or more mix buffers. Each command corresponds to the output processing of one channel of 128 samples audio frame at 48 kHz. The number of input samples consumed depends on the SRC ratio.

Requirements

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

See also

ACP SHAPE Overview shapeflowgraph
Last modified on August 20, 2026