Skip to main content

SHAPE_PCM_MODE

Specifies the enumeration of PCM modes.

Syntax

Constants

Remarks

The Sample Rate Convertor (SRC) operates in either mono or stereo mode. The PCM data is read from memory and converted to a common 24-bit fixed-point format for sample rate conversion. The output is written to either one or two mix buffers depending on the mode. Stereo data is stored in memory as an interleaved stream of 16-bit data with the left channel in the least significant 16 bits of each 32-bit word and the right channel in the most significant 16 bits. In stereo mode, the PCM data is read and simultaneously de-interleaved. The left channel data (even-numbered samples) is processed and output to one mix buffer and the right channel data (odd-numbered samples) is written to a second mix buffer.

Requirements

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

See also

Overview of ACP
Overview of Shape
shapepcmcontext
Last modified on August 20, 2026