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

Establece el tamaño del búfer de salida.

<a id="syntaxSection" />

## Sintaxis

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

<a id="parametersSection" />

### Parámetros

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

Puntero a un objeto [SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context).

*size*   \
Tipo: UINT32

El tamaño, en bytes, del búfer de salida. Debe ser un múltiplo de 256.

<a id="retvalSection" />

### Valor devuelto

Tipo: HRESULT

Código HRESULT de éxito o de error.

<a id="remarksSection" />

## Comentarios

Para obtener el tamaño del búfer de salida, use [GetShapeXmaOutputBufferSize](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffersize).

Para establecer los tamaños de los búferes de entrada, use [SetShapeXmaInputBuffer0Size](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0size) y [SetShapeXmaInputBuffer1Size](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1size).

Para obtener más información, consulte la sección [XMA](/build/console-features/audio/overviews/shape-overview#ID4EYD) de [Información general de SHAPE](/build/console-features/audio/overviews/shape-overview).

<a id="requirementsSection" />

## Requisitos

**Encabezado:** shapexmacontext.h

**Plataformas compatibles:** consolas de la familia XBOX One y consolas XBOX Series

<a id="seealsoSection" />

## Consulte también

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


## Related topics

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