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

# SetShapeXmaInputBuffer1Size

> SetShapeXmaInputBuffer1Size

# SetShapeXmaInputBuffer1Size

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

<a id="syntaxSection" />

## 構文

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

<a id="parametersSection" />

### パラメーター

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

SHAPE\_XMA\_CONTEXT 構造体へのポインター。

*size*   \
型: UINT32

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

<a id="retvalSection" />

### 戻り値

型: HRESULT

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

<a id="remarksSection" />

## 解説

左入力バッファのサイズを設定するには、[SetShapeXmaInputBuffer0Size](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0size) を使用します。

右入力バッファのサイズを取得するには、[GetShapeXmaInputBuffer1Size](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer1size) を使用します。

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

- [GetShapeXmaInputBuffer1Size](/ja-jp/reference/audio/shapexmacontext/functions/getshapexmainputbuffer1size.md)
- [SetShapeXmaInputBuffer0Size](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0size.md)
- [SetShapeXmaOutputBufferSize](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffersize.md)
- [ShapeXmaContext](/ja-jp/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [SetShapeXmaInputBuffer1Valid](/ja-jp/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1valid.md)
