nw::snd::SoundHeap::Alloc Member Function#include <nw/snd/snd_SoundHeap.h>
virtual void * Alloc(
size_t size
);
| Name | Description | |
|---|---|---|
| in | size |
Memory size to be allocated. |
Allocates memory from the sound heap.
A management region is needed in each memory block. As a result, you actually need slightly more free space than the memory size being allocated (size). The function will fail if there is not enough space.
CONFIDENTIAL