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

# GetShapeXmaInputBufferValid

> GetShapeXmaInputBufferValid

# GetShapeXmaInputBufferValid

入力バッファの有効性フラグを取得します。

## 構文

```cpp theme={null}
UINT32 GetShapeXmaInputBufferValid(  
         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

入力バッファの有効性フラグ。

| 値 | 説明 |
| - | - |
| 00 | どちらのバッファも有効ではありません。 |
| 01 | バッファ 0 (左) のみが有効です。 |
| 10 | バッファ 1 (右) のみが有効です。 |
| 11 | 両方のバッファが有効です。 |

## 解説

入力バッファの有効性フラグを設定するには、[SetShapeXmaInputBufferValid](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/setshapexmainputbuffervalid.md) を使用します。

出力バッファの有効性フラグを取得するには、[GetShapeXmaOutputBufferValid](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffervalid.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

- [SetShapeXmaInputBufferValid](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/setshapexmainputbuffervalid.md)
- [GetShapeXmaOutputBufferValid](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffervalid.md)
- [ShapeXmaContext](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeXmaInputBuffer0Valid](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0valid.md)
- [GetShapeXmaInputBuffer1Valid](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmainputbuffer1valid.md)
