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

# SetShapeXmaInputBuffer0Size

> SetShapeXmaInputBuffer0Size

# SetShapeXmaInputBuffer0Size

左入力バッファのサイズを設定します。

## 構文

```cpp theme={null}
HRESULT SetShapeXmaInputBuffer0Size(  
         SHAPE_XMA_CONTEXT* context,  
         UINT32 size  
)  
```

### パラメーター

*context*   \_Inout\_\
型: [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) オブジェクトへのポインター。

*size*   \
型: UINT32

左入力バッファのサイズ。2048 バイトの倍数で、かつ `SHAPE_XMA_MAX_INPUT_BUFFER_SIZE` 以下である必要があります。

### 戻り値

型: HRESULT

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

## 解説

右入力バッファのサイズを設定するには、[SetShapeXmaInputBuffer1Size](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1size.md) を使用します。

左入力バッファのサイズを取得するには、[GetShapeXmaInputBuffer0Size](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0size.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

- [GetShapeXmaInputBuffer0Size](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0size.md)
- [SetShapeXmaInputBuffer1Size](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1size.md)
- [SetShapeXmaOutputBufferSize](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffersize.md)
- [ShapeXmaContext](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [SetShapeXmaInputBuffer0Valid](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0valid.md)
