版本

menu_open
Wwise SDK 2018.1.11

◆ Malign()

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.

返回
A pointer to the start of the allocated memory (NULL if the system is out of memory)
参见
参数
in_poolId ID of the memory pool
in_uSize Number of bytes to allocate
in_uAlignment Alignment (in bytes)

被这些函数引用 AkArrayAllocatorAlignedSimd< U_POOL >::Alloc(), AkHybridAllocator< uBufferSizeBytes, uAlignmentSize >::Alloc() , 以及 operator new().


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅