Wwise Version
arrow_right Table of Contents
Wwise SDK 2019.2.13

◆ Malign()

AKSOUNDENGINE_API void* AK::MemoryMgr::Malign ( AkMemPoolId  in_poolId,
size_t  in_uSize,
AkUInt32  in_uAlignment 
)

Allocate memory with a specific alignment. Needs to be used in conjunction with AK::MemoryMgr::Falign.

Returns
A pointer to the start of the allocated memory (NULL if the allocation could not be completed)
See also
Parameters
in_poolId ID of the memory category (AkMemID)
in_uSize Number of bytes to allocate
in_uAlignment Alignment (in bytes)

Referenced by operator new().