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

# SetShapeXmaInputBuffer0(SHAPE_XMA_CONTEXT*, APU_ADDRESS)

> SetShapeXmaInputBuffer0(SHAPE_XMA_CONTEXT*, APU_ADDRESS)

# SetShapeXmaInputBuffer0(SHAPE\_XMA\_CONTEXT\*, APU\_ADDRESS)

左入力バッファのアドレスを設定します。

<a id="syntaxSection" />

## 構文

```cpp theme={null}
HRESULT SetShapeXmaInputBuffer0(  
         SHAPE_XMA_CONTEXT* context,  
         APU_ADDRESS buffer  
)  
```

<a id="parametersSection" />

### パラメーター

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

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

*buffer*   \_In\_\
型: APU\_ADDRESS

左入力バッファの物理アドレス。

<a id="retvalSection" />

### 戻り値

型: HRESULT

HRESULT の成功またはエラー コード。

<a id="remarksSection" />

## 解説

右入力バッファのアドレスを設定するには、[SetShapeXmaInputBuffer1(SHAPE\_XMA\_CONTEXT\*, const void\*)](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1) または [SetShapeXmaInputBuffer1(SHAPE\_XMA\_CONTEXT\*, APU\_ADDRESS)](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1_2) を使用します。

左入力バッファのアドレスを取得するには、[GetShapeXmaInputBuffer0](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0) を使用します。

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

- [SetShapeXmaInputBuffer1(SHAPE_XMA_CONTEXT*, APU_ADDRESS)](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1_2.md)
- [GetShapeXmaInputBuffer0](/ja-jp/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0.md)
- [SetShapeXmaCurrentInputBuffer](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmacurrentinputbuffer.md)
- [SetShapeXmaInputBuffer1(SHAPE_XMA_CONTEXT*, const void*)](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1.md)
- [ShapeXmaContext](/ja-jp/reference/audio/shapexmacontext/shapexmacontext_members.md)
