SetShapeXmaSampleRate

Sets the sample rate.

Syntax

HRESULT SetShapeXmaSampleRate(
         SHAPE_XMA_CONTEXT *context,
         UINT32 sampleRate
)  

Parameters

context
Type: SHAPE_XMA_CONTEXT *

[in, out] Pointer to a SHAPE_XMA_CONTEXT structure.

sampleRate
Type: UINT32 

One member of the SHAPE_XMA_SAMPLE_RATE enumeration.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in shapexmacontext.h.

Library: Use acphal.lib.