Version

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

Allocate memory from a pool, overriding the pool's default memory alignment. Needs to be used in conjunction with AK::MemoryMgr::Falign.

Returns:
A pointer to the start of the allocated memory (NULL if the system is out of memory)
See also:
Parameters:
in_poolId  ID of the memory pool
in_uSize  Number of bytes to allocate
in_uAlignment  Alignment (in bytes)

Referenced by AkArrayAllocatorAlignedSimd< U_POOL >::Alloc(), and 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