Skip to main content

SetShapeSrcXmaBlocksToSkip

Sets the number of XMA blocks to skip when starting.

Syntax

Parameters

context   _Inout_
Type: SHAPE_SRC_CONTEXT*
Pointer to a SHAPE_SRC_CONTEXT object. xmaBlocksToSkip   
Type: UINT32
Number of blocks to skip.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

The maximum number of XMA blocks to skip is 3. (Each block contains a maximum of 128 samples, so up to 384 samples can be skipped.) To get the current skip number, use GetShapeSrcXmaBlocksToSkip. For more information about the SRC, see Sample Rate Convertor (SRC) block in Overview of SHAPE.

Requirements

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

See also

ShapeSrcContext
Last modified on August 20, 2026