#include <nw/snd/snd_SoundHeap.h>
bool Create(
void* startAddress,
size_t size
);
| Name | Description | |
|---|---|---|
| in | startAddress | Starting address of the memory to use as the heap. |
| in | size |
Size of the memory to use as the heap. |
Creates the sound heap.
The function fails if the size of the memory region (size) is insufficient. Also, because a heap management region is necessary, the size of the heap in memory is smaller than size.
To reuse the memory area passed to this function, use the nw::snd::SoundHeap::Destroy function to destroy the heap.
When loading wave data, you must set startAddress to an address in device memory.
CONFIDENTIAL