Skip to main content

GetShapeSrcSamplePointer

Gets the current sample pointer.

Syntax

Parameters

context   _In_
Type: SHAPE_SRC_CONTEXT*
Pointer to a SHAPE_SRC_CONTEXT object.

Return value

Type: UINT32 The sample pointer.

Remarks

This function returns a pointer to the current PCM input sample. The pointer is stored in the samplePointer member of the SHAPE_SRC_CONTEXT object. 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