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

# ApuFree

> ApuFree

# ApuFree

Libera memória física da APU.

## Sintaxe

```cpp theme={null}
void ApuFree(  
         void* virtualAddress  
)  
```

### Parâmetros

*virtualAddress*   \_In\_\
Tipo: void\*

Endereço virtual a ser liberado.

### Valor de retorno

Tipo: void

## Comentários

Liberar o endereço virtual invalida o endereço físico. Para criar uma alocação, use [ApuAlloc](/pt-BR/reference/audio/apu/functions/apualloc).

Os endereços virtual e físico retornados por `ApuAlloc` representam exibições diferentes do mesmo espaço de endereço.

## Requisitos

**Cabeçalho:** apu.h

**Biblioteca:** acphal.lib

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

## Documentação conceitual

* [Visão geral do XMA2](/pt-BR/build/console-features/audio/overviews/xma2-overview)

## Confira também

[ApuAlloc](/pt-BR/reference/audio/apu/functions/apualloc)\
[APU](/pt-BR/reference/audio/apu/apu_members)


## Related topics

- [ApuAlloc](/pt-BR/reference/audio/apu/functions/apualloc.md)
- [Visão geral do XMA2](/pt-BR/build/console-features/audio/overviews/xma2-overview.md)
- [APU (Unidade de Processamento de Áudio)](/pt-BR/reference/audio/apu/apu_members.md)
- [ApuHeapState](/pt-BR/reference/audio/apu/structs/apuheapstate.md)
- [ApuMapApuAddress](/pt-BR/reference/audio/apu/functions/apumapapuaddress.md)
