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

# GetShapeXmaInputBuffer0Valid

> GetShapeXmaInputBuffer0Valid

# GetShapeXmaInputBuffer0Valid

取得左側輸入緩衝區的有效性旗標。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
bool GetShapeXmaInputBuffer0Valid(  
         const SHAPE_XMA_CONTEXT* context  
)  
```

<a id="parametersSection" />

### 參數

*context*   \_In\_\
類型：[SHAPE\_XMA\_CONTEXT](/zh-TW/reference/audio/shapexmacontext/structs/shape_xma_context)\*

[SHAPE\_XMA\_CONTEXT](/zh-TW/reference/audio/shapexmacontext/structs/shape_xma_context) 物件的指標。

<a id="retvalSection" />

### 傳回值

類型：bool

如果左側輸入緩衝區有效，則為 True。

<a id="remarksSection" />

## 備註

若要取得右側輸入緩衝區的有效性旗標，請使用 [GetShapeXmaInputBuffer1Valid](/zh-TW/reference/audio/shapexmacontext/functions/getshapexmainputbuffer1valid)。

若要設定左側輸入緩衝區的有效性旗標，請使用 [SetShapeXmaInputBuffer0Valid](/zh-TW/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0valid)。

如需詳細資訊，請參閱 [SHAPE 概觀](/zh-TW/build/console-features/audio/overviews/shape-overview)中的 [XMA](/zh-TW/build/console-features/audio/overviews/shape-overview#ID4EYD) 一節。

<a id="requirementsSection" />

## 需求

**標頭：** shapexmacontext.h

**支援的平台：** XBOX One 系列主機和 XBOX Series 主機

<a id="seealsoSection" />

## 另請參閱

[ShapeXmaContext](/zh-TW/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [GetShapeXmaInputBuffer0Valid](/ko/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0valid.md)
- [SetShapeXmaInputBuffer0Valid](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0valid.md)
