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

# GetShapeXmaCurrentInputBuffer

> GetShapeXmaCurrentInputBuffer

# GetShapeXmaCurrentInputBuffer

現在の入力バッファーを取得します。

<a id="syntaxSection" />

## 構文

```cpp theme={null}
UINT32 GetShapeXmaCurrentInputBuffer(  
         const SHAPE_XMA_CONTEXT* context  
)  
```

<a id="parametersSection" />

### パラメーター

*context*   \_In\_\
型: [SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context)\*

[SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context) オブジェクトへのポインター。

<a id="retvalSection" />

### 戻り値

型: UINT32

現在の入力バッファー。0 は左バッファー、1 は右バッファーを指定します。

<a id="remarksSection" />

## 解説

左入力バッファーへのポインターを取得するには、[GetShapeXmaInputBuffer0](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0) を使用します。右入力バッファーへのポインターを取得するには、[GetShapeXmaInputBuffer1](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer1) を使用します。

現在の入力バッファーを設定するには、[SetShapeXmaCurrentInputBuffer](/reference/audio/shapexmacontext/functions/setshapexmacurrentinputbuffer) を使用します。

詳細については、[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

- [SetShapeXmaCurrentInputBuffer](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmacurrentinputbuffer.md)
- [GetShapeXmaInputBufferReadOffset](/ja-jp/reference/audio/shapexmacontext/functions/getshapexmainputbufferreadoffset.md)
- [SetShapeXmaInputBufferReadOffset](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmainputbufferreadoffset.md)
- [ShapeXmaContext](/ja-jp/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeXmaInputBufferValid](/ja-jp/reference/audio/shapexmacontext/functions/getshapexmainputbuffervalid.md)
