Firelight Technologies FMOD Studio API
Callback to allocate a block of memory.
void * F_CALLBACK FMOD_MEMORY_ALLOC_CALLBACK(
unsigned int size,
FMOD_MEMORY_TYPE type,
const char *sourcestr
);
size
Size in bytes of the memory block to be allocated and returned.
type
Type of memory allocation.
sourcestr
Only valid (not null) in logging versions of FMOD. Gives a string with the fmod source code filename and line number in it, for better resource tracking.
On success, a pointer to the newly allocated block of memory is returned.
On failure, NULL is returned.
Returning an aligned pointer, of 16 byte alignment is recommended for speed purposes.
Version 1.03.06 Built on Apr 17, 2014