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

Define o tamanho do buffer de saída.

<a id="syntaxSection" />

## Sintaxe

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

<a id="parametersSection" />

### Parâmetros

*context*   \_Inout\_\
Tipo: [SHAPE\_XMA\_CONTEXT](/pt-BR/reference/audio/shapexmacontext/structs/shape_xma_context)\*

Ponteiro para um objeto [SHAPE\_XMA\_CONTEXT](/pt-BR/reference/audio/shapexmacontext/structs/shape_xma_context).

*size*   \
Tipo: UINT32

O tamanho, em bytes, do buffer de saída. Deve ser um múltiplo de 256.

<a id="retvalSection" />

### Valor retornado

Tipo: HRESULT

Código de sucesso ou de erro HRESULT.

<a id="remarksSection" />

## Comentários

Para obter o tamanho do buffer de saída, use [GetShapeXmaOutputBufferSize](/pt-BR/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffersize).

Para definir os tamanhos dos buffers de entrada, use [SetShapeXmaInputBuffer0Size](/pt-BR/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0size) e [SetShapeXmaInputBuffer1Size](/pt-BR/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1size).

Para obter mais informações, confira a seção [XMA](/pt-BR/build/console-features/audio/overviews/shape-overview#ID4EYD) de [Visão geral do SHAPE](/pt-BR/build/console-features/audio/overviews/shape-overview).

<a id="requirementsSection" />

## Requisitos

**Cabeçalho:** shapexmacontext.h

**Plataformas compatíveis:** consoles da família XBOX One e consoles XBOX Series

<a id="seealsoSection" />

## Confira também

[ShapeXmaContext](/pt-BR/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [SetShapeXmaOutputBufferSize](/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffersize.md)
- [GetShapeXmaOutputBufferSize](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffersize.md)
