Table of Contents

Wwise SDK 2018.1.11

◆ GetBlock()

void* __cdecl AK::MemoryMgr::GetBlock ( AkMemPoolId  in_poolId )

Get a block from a Fixed-Size Block type pool. To be used with pools created with AkFixedSizeBlocksMode block management type, along with any of the block allocation types.

A pointer to the start of the allocated memory (NULL if the system is out of memory) The size of the memory block is always in_uBlockSize, specified in AK::MemoryMgr::CreatePool.
This method is not thread-safe. Fixed-Size Block pool access must be protected.
See also
in_poolId ID of the memory pool