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

# SetShapeXmaOutputBufferSize

> SetShapeXmaOutputBufferSize

# SetShapeXmaOutputBufferSize

출력 버퍼의 크기를 설정합니다.

<a id="syntaxSection" />

## Syntax

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

<a id="parametersSection" />

### Parameters

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

[SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context) 객체에 대한 포인터입니다.

*size*   \
Type: UINT32

출력 버퍼의 크기(바이트 단위)입니다. 256의 배수여야 합니다.

<a id="retvalSection" />

### Return value

Type: HRESULT

HRESULT 성공 또는 오류 코드입니다.

<a id="remarksSection" />

## Remarks

출력 버퍼의 크기를 가져오려면 [GetShapeXmaOutputBufferSize](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffersize)를 사용하세요.

입력 버퍼의 크기를 설정하려면 [SetShapeXmaInputBuffer0Size](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0size) 및 [SetShapeXmaInputBuffer1Size](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1size)를 사용하세요.

자세한 내용은 [SHAPE 개요](/build/console-features/audio/overviews/shape-overview)의 [XMA](/build/console-features/audio/overviews/shape-overview#ID4EYD) 섹션을 참조하세요.

<a id="requirementsSection" />

## Requirements

**Header:** shapexmacontext.h

**Supported platforms:** XBOX One 제품군 콘솔 및 XBOX Series 콘솔

<a id="seealsoSection" />

## See also

[ShapeXmaContext](/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [GetShapeXmaOutputBufferSize](/ko/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffersize.md)
- [ShapeXmaContext](/ko/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [SetShapeXmaOutputBuffer(SHAPE_XMA_CONTEXT*, void*)](/ko/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer.md)
- [SetShapeXmaOutputBufferValid](/ko/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffervalid.md)
- [SetShapeXmaOutputBuffer(SHAPE_XMA_CONTEXT*, APU_ADDRESS)](/ko/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer_2.md)
