Version

menu_open
Wwise SDK 2019.1.11
AK::MemoryMgr Namespace Reference

Classes

struct   PoolMemInfo
 
struct   PoolStats
 

Enumerations

enum   DebugFlags { CheckOverwriteAtFree = 1, CheckOverwritePerFrame = 2, CheckOverwritePerVoice = 4 }
 

Functions

AKSOUNDENGINE_API bool  IsInitialized ()
 
AKSOUNDENGINE_API void  Term ()
 
AKSOUNDENGINE_API AKRESULT  Init (AkMemSettings *in_pSettings)
 
Memory Pools
AKSOUNDENGINE_API AkMemPoolId  CreatePool (void *in_pMemAddress, AkUInt32 in_uMemSize, AkUInt32 in_uBlockSize, AkUInt32 in_eAttributes, AkUInt32 in_uBlockAlign=0)
 
AKSOUNDENGINE_API AKRESULT  SetPoolName (AkMemPoolId in_poolId, const char *in_pszPoolName)
 
AKSOUNDENGINE_API AkOSChar *  GetPoolName (AkMemPoolId in_poolId)
 
AKSOUNDENGINE_API AKRESULT  SetMonitoring (AkMemPoolId in_poolId, bool in_bDoMonitor)
 
AKSOUNDENGINE_API AKRESULT  DestroyPool (AkMemPoolId in_poolId)
 
AKSOUNDENGINE_API AKRESULT  GetPoolStats (AkMemPoolId in_poolId, PoolStats &out_stats)
 
AKSOUNDENGINE_API void  GetPoolMemoryUsed (AkMemPoolId in_poolId, PoolMemInfo &out_memInfo)
 
AKSOUNDENGINE_API AkInt32  GetNumPools ()
 
AKSOUNDENGINE_API AkInt32  GetMaxPools ()
 
AKSOUNDENGINE_API AKRESULT  CheckPoolId (AkMemPoolId in_poolId)
 
AKSOUNDENGINE_API AkMemPoolAttributes  GetPoolAttributes (AkMemPoolId in_poolId)
 
Memory Allocation
AKSOUNDENGINE_API void *  Malloc (AkMemPoolId in_poolId, size_t in_uSize)
 
AKSOUNDENGINE_API void *  Realloc (AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize)
 
AKSOUNDENGINE_API AKRESULT  Free (AkMemPoolId in_poolId, void *in_pMemAddress)
 
AKSOUNDENGINE_API void *  Malign (AkMemPoolId in_poolId, size_t in_uSize, AkUInt32 in_uAlignment)
 
AKSOUNDENGINE_API AKRESULT  Falign (AkMemPoolId in_poolId, void *in_pMemAddress)
 
Fixed-Size Blocks Memory Allocation Mode
AKSOUNDENGINE_API void *  GetBlock (AkMemPoolId in_poolId)
 
AKSOUNDENGINE_API AKRESULT  ReleaseBlock (AkMemPoolId in_poolId, void *in_pMemAddress)
 
AKSOUNDENGINE_API AkUInt32  GetBlockSize (AkMemPoolId in_poolId)
 
AKSOUNDENGINE_API void  StartProfileThreadUsage (AkMemPoolId in_PoolId)
 
AKSOUNDENGINE_API AkUInt32  StopProfileThreadUsage (AkMemPoolId in_PoolId)
 
AKSOUNDENGINE_API void  CheckForOverwrite (AkUInt32 in_uPoolID)
 

Detailed Description

Memory Manager namespace.

Remarks
The functions in this namespace are thread-safe, unless stated otherwise.
See also

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