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

# AcpHalReleaseShapeContexts

> AcpHalReleaseShapeContexts

# AcpHalReleaseShapeContexts

Libera matrizes de contexto do Scalable Hardware Audio Processing Engine (SHAPE) e do XBOX Media Audio (XMA).

## Sintaxe

```cpp theme={null}
HRESULT AcpHalReleaseShapeContexts(  
)  
```

### Parâmetros

Nenhum.

### Valor retornado

Tipo: HRESULT

Se o método for bem-sucedido, ele retornará `S_OK`. Se o método falhar, ele retornará um dos seguintes códigos (lista parcial):

| Código de retorno | Descrição |
| - | - |
| ACP\_E\_NOT\_ALLOCATED | As matrizes de contexto não foram alocadas. |

## Comentários

Chame este método para liberar contextos do Audio Control Processor (ACP) que você criou chamando [AcpHalAllocateShapeContexts](/pt-BR/reference/audio/acphal/functions/acphalallocateshapecontexts).

Todos os recursos do ACP e do SHAPE (em particular, as matrizes de contexto) são compartilhados entre todos os clientes. Os clientes devem coordenar a alocação e o compartilhamento desses recursos.

## Requisitos

**Cabeçalho:** acphal.h

**Biblioteca:** acphal.lib

**Plataformas com suporte:** consoles da família XBOX One e consoles XBOX Series

## Confira também

[AcpHalAllocateShapeContexts](/pt-BR/reference/audio/acphal/functions/acphalallocateshapecontexts)\
[AcpHal](/pt-BR/reference/audio/acphal/acphal_members)


## Related topics

- [AcpHalAllocateShapeContexts](/pt-BR/reference/audio/acphal/functions/acphalallocateshapecontexts.md)
- [AcpHal](/pt-BR/reference/audio/acphal/acphal_members.md)
- [IAcpHal::Connect](/pt-BR/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_connect.md)
- [ACP_MESSAGE_ERROR](/pt-BR/reference/audio/acphal/structs/acp_message_error.md)
- [SHAPE_CONTEXTS](/pt-BR/reference/audio/acphal/structs/shape_contexts.md)
