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

APU 物理メモリを解放します。

## 構文

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

### パラメーター

*virtualAddress*   \_In\_\
型: void\*

解放する仮想アドレス。

### 戻り値

型: void

## 解説

仮想アドレスを解放すると、物理アドレスも無効になります。割り当てを作成するには、[ApuAlloc](/reference/audio/apu/functions/apualloc) を使用します。

`ApuAlloc` によって返される仮想アドレスと物理アドレスは、同じアドレス空間の異なるビューを表します。

## 要件

**ヘッダー:** apu.h

**ライブラリ:** acphal.lib

**サポート対象プラットフォーム:** XBOX One ファミリー本体、XBOX Series 本体

## 概念ドキュメント

* [XMA2 の概要](/build/console-features/audio/overviews/xma2-overview)

## 関連項目

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


## Related topics

- [ApuAlloc](/ja-jp/reference/audio/apu/functions/apualloc.md)
- [XMA2 の概要](/ja-jp/build/console-features/audio/overviews/xma2-overview.md)
- [APU (Audio Processing Unit)](/ja-jp/reference/audio/apu/apu_members.md)
- [ApuHeapState](/ja-jp/reference/audio/apu/structs/apuheapstate.md)
- [ApuMapApuAddress](/ja-jp/reference/audio/apu/functions/apumapapuaddress.md)
