Version

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

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().


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise