> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SHAPE_XMA_SAMPLE_RATE

> SHAPE_XMA_SAMPLE_RATE

Valid sample rates.

## Syntax

```cpp theme={null}
enum SHAPE_XMA_SAMPLE_RATE  
{  
    SHAPE_XMA_SAMPLE_RATE_24K,  
    SHAPE_XMA_SAMPLE_RATE_32K,  
    SHAPE_XMA_SAMPLE_RATE_44_1K,  
    SHAPE_XMA_SAMPLE_RATE_48K  
}  
```

## Constants

| Constant | Description |
| - | - |
| SHAPE\_XMA\_SAMPLE\_RATE\_24K | 24 KHz |
| SHAPE\_XMA\_SAMPLE\_RATE\_32K | 32 KHz |
| SHAPE\_XMA\_SAMPLE\_RATE\_44\_1K | 44.1 KHz |
| SHAPE\_XMA\_SAMPLE\_RATE\_48K | 48 KHz |

## Remarks

This enumeration is used in the [GetShapeXmaSampleRate](https://docs.xbox.com/reference/audio/shapexmacontext/functions/getshapexmasamplerate.md) and [SetShapeXmaSampleRate(SHAPE\_XMA\_CONTEXT\*, SHAPE\_XMA\_SAMPLE\_RATE)](https://docs.xbox.com/reference/audio/shapexmacontext/functions/setshapexmasamplerate.md) functions. A value passed to the [SetShapeXmaSampleRate(SHAPE\_XMA\_CONTEXT\*, UINT32)](https://docs.xbox.com/reference/audio/shapexmacontext/functions/setshapexmasamplerate_2.md) function is converted to a member of this enumeration before being stored in the context.

For more information, see the [XMA](https://docs.xbox.com/build/console-features/audio/overviews/shape-overview.md#ID4EYD) section of [Overview of SHAPE](https://docs.xbox.com/build/console-features/audio/overviews/shape-overview.md).

## Requirements

**Header:** shapexmacontext.h

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[ShapeXmaContext](https://docs.xbox.com/reference/audio/shapexmacontext/shapexmacontext_members.md)


## Related topics

- [SetShapeXmaSampleRate(SHAPE_XMA_CONTEXT*, SHAPE_XMA_SAMPLE_RATE)](https://docs.xbox.com/reference/audio/shapexmacontext/functions/setshapexmasamplerate.md)
- [GetShapeXmaSampleRate](https://docs.xbox.com/reference/audio/shapexmacontext/functions/getshapexmasamplerate.md)
- [SetShapeXmaSampleRate(SHAPE_XMA_CONTEXT*, UINT32)](https://docs.xbox.com/reference/audio/shapexmacontext/functions/setshapexmasamplerate_2.md)
- [ShapeXmaContext](https://docs.xbox.com/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [SHAPE_XMA_CONTEXT](https://docs.xbox.com/reference/audio/shapexmacontext/structs/shape_xma_context.md)
