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

# GetShapeXmaInputBufferValid

> GetShapeXmaInputBufferValid

# GetShapeXmaInputBufferValid

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

<a id="syntaxSection" />

## 構文

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

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

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

<a id="remarksSection" />

## 解説

入力バッファの有効性フラグを設定するには、[SetShapeXmaInputBufferValid](/reference/audio/shapexmacontext/functions/setshapexmainputbuffervalid) を使用します。

出力バッファの有効性フラグを取得するには、[GetShapeXmaOutputBufferValid](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffervalid) を使用します。

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

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