Table of Contents

AKRESULT __cdecl AK::MemoryMgr::Falign ( AkMemPoolId  in_poolId,
void *  in_pMemAddress  
)

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

Returns:
AK_Success if successful
See also:
Parameters:
in_poolId  ID of the memory pool
in_pMemAddress  Pointer to the start of memory allocated with Malign

Referenced by AkDeleteAligned(), AkHybridAllocator< uBufferSizeBytes, uAlignmentSize >::Free(), and AkArrayAllocatorAlignedSimd< U_POOL >::Free().