nw::snd::SoundMemoryAllocatable::Alloc Member Function

Syntax

#include <nw/snd/snd_SoundMemoryAllocatable.h>
virtual void * Alloc(
     size_t size
) = 0;

Arguments

Name Description
in size Memory size to be allocated.

Return Values

Returns the starting address of the allocated memory block. Must return a value of NULL if allocation fails.

Description

Allocates memory from the heap in main memory.

The start address of the memory to be allocated must be 32-byte aligned.

Revision History

2010/01/15
Initial version.

CONFIDENTIAL