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

# SHAPE_XMA_SAMPLE_RATE

> SHAPE_XMA_SAMPLE_RATE

# SHAPE\_XMA\_SAMPLE\_RATE

有効なサンプルレートです。

<a id="syntaxSection" />

## 構文

```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  
}  
```

<a id="constantsSection" />

## 定数

| 定数                               | 説明       |
| -------------------------------- | -------- |
| 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   |

<a id="remarksSection" />

## 解説

この列挙型は、[GetShapeXmaSampleRate](/reference/audio/shapexmacontext/functions/getshapexmasamplerate) および [SetShapeXmaSampleRate(SHAPE\_XMA\_CONTEXT\*, SHAPE\_XMA\_SAMPLE\_RATE)](/reference/audio/shapexmacontext/functions/setshapexmasamplerate) 関数で使用されます。[SetShapeXmaSampleRate(SHAPE\_XMA\_CONTEXT\*, UINT32)](/reference/audio/shapexmacontext/functions/setshapexmasamplerate_2) 関数に渡された値は、コンテキストに格納される前にこの列挙型のメンバーに変換されます。

詳細については、[SHAPE の概要](/build/console-features/audio/overviews/shape-overview) の [XMA](/build/console-features/audio/overviews/shape-overview#ID4EYD) セクションを参照してください。

<a id="requirementsSection" />

## 要件

**ヘッダー:** shapexmacontext.h

**サポート対象プラットフォーム:** XBOX One ファミリー本体および XBOX Series 本体

<a id="seealsoSection" />

## 関連項目

[ShapeXmaContext](/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [SetShapeXmaSampleRate(SHAPE_XMA_CONTEXT*, SHAPE_XMA_SAMPLE_RATE)](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmasamplerate.md)
- [GetShapeXmaSampleRate](/ja-jp/reference/audio/shapexmacontext/functions/getshapexmasamplerate.md)
- [ShapeXmaContext](/ja-jp/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [SHAPE_XMA_CONTEXT](/ja-jp/reference/audio/shapexmacontext/structs/shape_xma_context.md)
- [GetXmaSampleRate](/ja-jp/reference/audio/xma2defs/functions/getxmasamplerate.md)
