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

# SetShapeXmaOutputBuffer(SHAPE_XMA_CONTEXT*, APU_ADDRESS)

> SetShapeXmaOutputBuffer(SHAPE_XMA_CONTEXT*, APU_ADDRESS)

# SetShapeXmaOutputBuffer(SHAPE\_XMA\_CONTEXT\*, APU\_ADDRESS)

Définit l'adresse de la mémoire tampon de sortie.

<a id="syntaxSection" />

## Syntaxe

```cpp theme={null}
HRESULT SetShapeXmaOutputBuffer(  
         SHAPE_XMA_CONTEXT* context,  
         APU_ADDRESS buffer  
)  
```

<a id="parametersSection" />

### Paramètres

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

Pointeur vers un objet [SHAPE\_XMA\_CONTEXT](/fr-CA/reference/audio/shapexmacontext/structs/shape_xma_context).

*buffer*   \_In\_\
Type : APU\_ADDRESS

Adresse physique de la mémoire tampon de sortie.

<a id="retvalSection" />

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

<a id="remarksSection" />

## Remarques

Pour définir l'adresse de la mémoire tampon de sortie à l'aide d'un pointeur, utilisez [SetShapeXmaOutputBuffer(SHAPE\_XMA\_CONTEXT\*, void\*)](/fr-CA/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer).

Pour obtenir l'adresse de la mémoire tampon de sortie, utilisez [GetShapeXmaOutputBuffer](/fr-CA/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffer).

Pour plus d'informations, consultez la section [XMA](/fr-CA/build/console-features/audio/overviews/shape-overview#ID4EYD) de la [Vue d'ensemble de SHAPE](/fr-CA/build/console-features/audio/overviews/shape-overview).

<a id="requirementsSection" />

## Configuration requise

**En-tête :** shapexmacontext.h

**Plateformes prises en charge :** consoles de la famille XBOX One et consoles XBOX Series

<a id="seealsoSection" />

## Voir aussi

[ShapeXmaContext](/fr-CA/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [SetShapeXmaOutputBuffer(SHAPE_XMA_CONTEXT*, APU_ADDRESS)](/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer_2.md)
- [SetShapeXmaOutputBuffer(SHAPE_XMA_CONTEXT*, void*)](/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer.md)
- [GetShapeXmaOutputBuffer](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffer.md)
