Skip to main content

GetShapeXmaSampleRate

Gets the sample rate.

Syntax

Parameters

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

Return value

Type: SHAPE_XMA_SAMPLE_RATE A member of the SHAPE_XMA_SAMPLE_RATE enumeration.

Remarks

To set the sample rate by using a member of the SHAPE_XMA_SAMPLE_RATE enumeration, use SetShapeXmaSampleRate(SHAPE_XMA_CONTEXT*, SHAPE_XMA_SAMPLE_RATE). To set the sample rate by specifying an integer, use SetShapeXmaSampleRate(SHAPE_XMA_CONTEXT*, UINT32). For more information, see the XMA section of Overview of SHAPE.

Requirements

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

See also

ShapeXmaContext
Last modified on August 20, 2026