Skip to main content

SHAPE_DMA_CONTEXT

The Direct Memory Access (DMA) context structure.

Syntax

Members

timestamp
Type: UINT32
Read: Timestamp of the completion of context processing. reserved0
Type: UINT32
Reserved. mixBufPeakMag
Type: UINT32
Read: Peak magnitude of the output mix buffer. peakMag
Type: UINT32
Read: Peak magnitude of the output. readPointer
Type: UINT32
Read/Write: Read pointer from the start of the buffer, in units of frames per channel or frame-interleave groups. reserved1
Type: UINT32
Reserved. writePointer
Type: UINT32
Read/Write: Write pointer from the start of the buffer, in units of frames per channel or frame-interleave groups. reserved2
Type: UINT32
Reserved. full
Type: UINT32
Read/Write: When the read pointer and the write pointer are equal, full indicates whether the buffer is empty or full (0 == empty, 1 == full). reserved3
Type: UINT32
Reserved. reserved4
Type: UINT32
Reserved. address
Type: UINT32
Write: Buffer address, aligned to 128 samples. numFrames
Type: UINT32
Write: numFrames + 1 equals the number of frames per channel, or the number of frame-interleave groups in the system-memory DMA buffer. A value of zero indicates one frame. From this information, the DMA block can derive the size of the DMA circular buffer. This field is set when the context and buffer are defined. reserved5
Type: UINT32
Reserved. floatConvert
Type: UINT32
Write: 1 if the data is to be converted into or from a float. 0 if the data is a 32-bit integer. reserved6
Type: UINT32
Reserved. numChannels
Type: UINT32
Write: numChannels + 1 is the number of channels of audio in the buffer. A value of zero indicates one channel. reserved7
Type: UINT32
Reserved. channel
Type: UINT32
Write: The channel to read/write. reserved8
Type: UINT32
Reserved.

Remarks

Members that are marked as Read are written by the ACP library and should only be read by your application. Members that are marked Write are set by your application and are not changed by the ACP library. Members that are marked Read/Write are set by your application but can be changed by the ACP library. For information on flowgraphs, see the Flowgraph parsing in Overview of ACP.

Requirements

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

Conceptual documentation

See also

ShapeDmaContext
Last modified on August 20, 2026