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

# GetShapeXmaCurrentInputBuffer

> GetShapeXmaCurrentInputBuffer

# GetShapeXmaCurrentInputBuffer

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

## 構文

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

### パラメーター

*context*   \_In\_\
型: [SHAPE\_XMA\_CONTEXT](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/structs/shape_xma_context.md)\*

[SHAPE\_XMA\_CONTEXT](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/structs/shape_xma_context.md) オブジェクトへのポインター。

### 戻り値

型: UINT32

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

## 解説

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

現在の入力バッファーを設定するには、[SetShapeXmaCurrentInputBuffer](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/setshapexmacurrentinputbuffer.md) を使用します。

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

## 要件

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

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

## 関連項目

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


## Related topics

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