arrow_right Table of Contents

Other Documentation

Wwise SDK 2019.2.15

◆ 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.

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

Referenced by operator new().