> ## 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.

# ShapeXmaContext

> ShapeXmaContext

# ShapeXmaContext

ShapeXmaContext API

## 関数

| 関数                                                                                                                                           | 説明                                 |
| -------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
| [GetShapeXmaCurrentInputBuffer](/reference/audio/shapexmacontext/functions/getshapexmacurrentinputbuffer)                                    | 現在の入力バッファーを取得します。                  |
| [GetShapeXmaErrorSet](/reference/audio/shapexmacontext/functions/getshapexmaerrorset)                                                        | エラーが発生したかどうかを示すフラグを取得します。          |
| [GetShapeXmaErrorStatus](/reference/audio/shapexmacontext/functions/getshapexmaerrorstatus)                                                  | 現在のエラー値を取得します。                     |
| [GetShapeXmaInputBuffer0](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0)                                                | 左入力バッファーのアドレスを取得します。               |
| [GetShapeXmaInputBuffer0Size](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0size)                                        | 左入力バッファーのサイズを取得します。                |
| [GetShapeXmaInputBuffer0Valid](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0valid)                                      | 左入力バッファーの有効性フラグを取得します。             |
| [GetShapeXmaInputBuffer1](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer1)                                                | 右入力バッファーのアドレスを取得します。               |
| [GetShapeXmaInputBuffer1Size](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer1size)                                        | 右入力バッファーのサイズを取得します。                |
| [GetShapeXmaInputBuffer1Valid](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer1valid)                                      | 右入力バッファーの有効性フラグを取得します。             |
| [GetShapeXmaInputBufferReadOffset](/reference/audio/shapexmacontext/functions/getshapexmainputbufferreadoffset)                              | 現在の入力バッファーの読み取りオフセットを取得します。        |
| [GetShapeXmaInputBufferValid](/reference/audio/shapexmacontext/functions/getshapexmainputbuffervalid)                                        | 入力バッファーの有効性フラグを取得します。              |
| [GetShapeXmaInterruptWhenDone](/reference/audio/shapexmacontext/functions/getshapexmainterruptwhendone)                                      | 内部使用のために予約されています。                  |
| [GetShapeXmaLoopEndOffset](/reference/audio/shapexmacontext/functions/getshapexmaloopendoffset)                                              | XMA コンテキスト ループの終了オフセットを取得します。      |
| [GetShapeXmaLoopStartOffset](/reference/audio/shapexmacontext/functions/getshapexmaloopstartoffset)                                          | XMA コンテキスト ループの開始オフセットを取得します。      |
| [GetShapeXmaLoopSubframeEnd](/reference/audio/shapexmacontext/functions/getshapexmaloopsubframeend)                                          | ループの最後のサブフレーム番号を取得します。             |
| [GetShapeXmaLoopSubframeSkip](/reference/audio/shapexmacontext/functions/getshapexmaloopsubframeskip)                                        | ループの先頭でスキップするサブフレーム数を取得します。        |
| [GetShapeXmaNumChannels](/reference/audio/shapexmacontext/functions/getshapexmanumchannels)                                                  | チャネル数を取得します。                       |
| [GetShapeXmaNumLoops](/reference/audio/shapexmacontext/functions/getshapexmanumloops)                                                        | XMA コンテキスト ループの数を取得します。            |
| [GetShapeXmaNumSubframesToDecode](/reference/audio/shapexmacontext/functions/getshapexmanumsubframestodecode)                                | 1 パスあたりにデコードするサブフレーム数を取得します。       |
| [GetShapeXmaNumSubframesToSkip](/reference/audio/shapexmacontext/functions/getshapexmanumsubframestoskip)                                    | スキップするサブフレーム数を取得します。               |
| [GetShapeXmaOutputBuffer](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffer)                                                | 出力バッファーのアドレスを取得します。                |
| [GetShapeXmaOutputBufferNumBytesAvailable](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffernumbytesavailable)              | 出力バッファーから読み取り可能なバイト数を取得します。        |
| [GetShapeXmaOutputBufferNumFramesAvailable](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffernumframesavailable)            | 出力バッファーから読み取り可能なフレーム数を取得します。       |
| [GetShapeXmaOutputBufferReadOffset](/reference/audio/shapexmacontext/functions/getshapexmaoutputbufferreadoffset)                            | 出力バッファーの読み取りオフセットを取得します。           |
| [GetShapeXmaOutputBufferSize](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffersize)                                        | 出力バッファーのサイズを取得します。                 |
| [GetShapeXmaOutputBufferValid](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffervalid)                                      | 出力バッファーの有効性フラグを取得します。              |
| [GetShapeXmaOutputBufferWriteOffset](/reference/audio/shapexmacontext/functions/getshapexmaoutputbufferwriteoffset)                          | 出力バッファーの書き込みオフセットを取得します。           |
| [GetShapeXmaOverlapAddBuffer](/reference/audio/shapexmacontext/functions/getshapexmaoverlapaddbuffer)                                        | オーバーラップ加算バッファーのアドレスを取得します。         |
| [GetShapeXmaPacketMetadata](/reference/audio/shapexmacontext/functions/getshapexmapacketmetadata)                                            | 内部使用のために予約されています。                  |
| [GetShapeXmaParserErrorSet](/reference/audio/shapexmacontext/functions/getshapexmaparsererrorset)                                            | XMA パーサー エラーが発生したかどうかを示すフラグを取得します。 |
| [GetShapeXmaParserErrorStatus](/reference/audio/shapexmacontext/functions/getshapexmaparsererrorstatus)                                      | 現在の XMA パーサー エラー値を取得します。           |
| [GetShapeXmaSampleRate](/reference/audio/shapexmacontext/functions/getshapexmasamplerate)                                                    | サンプル レートを取得します。                    |
| [GetShapeXmaStopWhenDone](/reference/audio/shapexmacontext/functions/getshapexmastopwhendone)                                                | 内部使用のために予約されています。                  |
| [SetShapeXmaCurrentInputBuffer](/reference/audio/shapexmacontext/functions/setshapexmacurrentinputbuffer)                                    | 現在の入力バッファーを設定します。                  |
| [SetShapeXmaInputBuffer0(SHAPE\_XMA\_CONTEXT\*, const void\*)](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0)           | 左入力バッファーのアドレスを設定します。               |
| [SetShapeXmaInputBuffer0(SHAPE\_XMA\_CONTEXT\*, APU\_ADDRESS)](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0_2)         | 左入力バッファーのアドレスを設定します。               |
| [SetShapeXmaInputBuffer0Size](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0size)                                        | 左入力バッファーのサイズを設定します。                |
| [SetShapeXmaInputBuffer0Valid](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0valid)                                      | 左入力バッファーの有効性フラグを設定します。             |
| [SetShapeXmaInputBuffer1(SHAPE\_XMA\_CONTEXT\*, const void\*)](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1)           | 右入力バッファーのアドレスを設定します。               |
| [SetShapeXmaInputBuffer1(SHAPE\_XMA\_CONTEXT\*, APU\_ADDRESS)](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1_2)         | 右入力バッファーのアドレスを設定します。               |
| [SetShapeXmaInputBuffer1Size](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1size)                                        | 右入力バッファーのサイズを設定します。                |
| [SetShapeXmaInputBuffer1Valid](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1valid)                                      | 右入力バッファーの有効性フラグを設定します。             |
| [SetShapeXmaInputBufferReadOffset](/reference/audio/shapexmacontext/functions/setshapexmainputbufferreadoffset)                              | 現在の入力バッファーの読み取りオフセットを設定します。        |
| [SetShapeXmaInputBufferValid](/reference/audio/shapexmacontext/functions/setshapexmainputbuffervalid)                                        | 入力バッファーの有効性フラグを設定します。              |
| [SetShapeXmaInterruptWhenDone](/reference/audio/shapexmacontext/functions/setshapexmainterruptwhendone)                                      | 内部使用のために予約されています。                  |
| [SetShapeXmaLoopEndOffset](/reference/audio/shapexmacontext/functions/setshapexmaloopendoffset)                                              | XMA コンテキスト ループの終了オフセットを設定します。      |
| [SetShapeXmaLoopStartOffset](/reference/audio/shapexmacontext/functions/setshapexmaloopstartoffset)                                          | XMA コンテキスト ループの開始オフセットを設定します。      |
| [SetShapeXmaLoopSubframeEnd](/reference/audio/shapexmacontext/functions/setshapexmaloopsubframeend)                                          | ループの最後のサブフレームを指定します。               |
| [SetShapeXmaLoopSubframeSkip](/reference/audio/shapexmacontext/functions/setshapexmaloopsubframeskip)                                        | ループの先頭でスキップするサブフレーム数を設定します。        |
| [SetShapeXmaNumChannels](/reference/audio/shapexmacontext/functions/setshapexmanumchannels)                                                  | チャネル数を設定します。                       |
| [SetShapeXmaNumLoops](/reference/audio/shapexmacontext/functions/setshapexmanumloops)                                                        | XMA コンテキスト ループの数を設定します。            |
| [SetShapeXmaNumSubframesToDecode](/reference/audio/shapexmacontext/functions/setshapexmanumsubframestodecode)                                | 1 パスあたりにデコードするサブフレーム数を設定します。       |
| [SetShapeXmaNumSubframesToSkip](/reference/audio/shapexmacontext/functions/setshapexmanumsubframestoskip)                                    | スキップするサブフレーム数を設定します。               |
| [SetShapeXmaOutputBuffer(SHAPE\_XMA\_CONTEXT\*, void\*)](/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer)                 | 出力バッファーのアドレスを設定します。                |
| [SetShapeXmaOutputBuffer(SHAPE\_XMA\_CONTEXT\*, APU\_ADDRESS)](/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer_2)         | 出力バッファーのアドレスを設定します。                |
| [SetShapeXmaOutputBufferReadOffset](/reference/audio/shapexmacontext/functions/setshapexmaoutputbufferreadoffset)                            | 出力バッファーの読み取りオフセットを設定します。           |
| [SetShapeXmaOutputBufferSize](/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffersize)                                        | 出力バッファーのサイズを設定します。                 |
| [SetShapeXmaOutputBufferValid](/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffervalid)                                      | 出力バッファーの有効性フラグを設定します。              |
| [SetShapeXmaOverlapAddBuffer(SHAPE\_XMA\_CONTEXT\*, void\*)](/reference/audio/shapexmacontext/functions/setshapexmaoverlapaddbuffer)         | オーバーラップ加算バッファーのアドレスを設定します。         |
| [SetShapeXmaOverlapAddBuffer(SHAPE\_XMA\_CONTEXT\*, APU\_ADDRESS)](/reference/audio/shapexmacontext/functions/setshapexmaoverlapaddbuffer_2) | オーバーラップ加算バッファーのアドレスを設定します。         |
| [SetShapeXmaPacketMetadata](/reference/audio/shapexmacontext/functions/setshapexmapacketmetadata)                                            | 内部使用のために予約されています。                  |
| [SetShapeXmaSampleRate(SHAPE\_XMA\_CONTEXT\*, SHAPE\_XMA\_SAMPLE\_RATE)](/reference/audio/shapexmacontext/functions/setshapexmasamplerate)   | サンプル レートを設定します。                    |
| [SetShapeXmaSampleRate(SHAPE\_XMA\_CONTEXT\*, UINT32)](/reference/audio/shapexmacontext/functions/setshapexmasamplerate_2)                   | サンプル レートを設定します。                    |
| [SetShapeXmaStopWhenDone](/reference/audio/shapexmacontext/functions/setshapexmastopwhendone)                                                | 内部使用のために予約されています。                  |

## 構造体

| 構造体                                                                               | 説明                             |
| --------------------------------------------------------------------------------- | ------------------------------ |
| [SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context) | XBOX Media Audio (XMA) コンテキスト。 |

## 列挙型

| 列挙型                                                                                      | 説明           |
| ---------------------------------------------------------------------------------------- | ------------ |
| [SHAPE\_XMA\_SAMPLE\_RATE](/reference/audio/shapexmacontext/enums/shape_xma_sample_rate) | 有効なサンプル レート。 |


## Related topics

- [SHAPE_XMA_CONTEXT](/ja-jp/reference/audio/shapexmacontext/structs/shape_xma_context.md)
- [SetShapeXmaSampleRate(SHAPE_XMA_CONTEXT*, SHAPE_XMA_SAMPLE_RATE)](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmasamplerate.md)
- [SetShapeXmaOutputBuffer(SHAPE_XMA_CONTEXT*, void*)](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer.md)
- [SetShapeXmaOverlapAddBuffer(SHAPE_XMA_CONTEXT*, void*)](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmaoverlapaddbuffer.md)
- [SetShapeXmaInputBuffer0(SHAPE_XMA_CONTEXT*, const void*)](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0.md)
