Wwise Version
arrow_right Table of Contents
Wwise SDK 2021.1.3
AK::MemoryMgr Namespace Reference

Classes

struct   CategoryStats
 
struct   GlobalStats
 

Functions

AKSOUNDENGINE_API AKRESULT  Init (AkMemSettings *in_pSettings)
 
AKSOUNDENGINE_API void  GetDefaultSettings (AkMemSettings &out_pMemSettings)
  Obtain the default initialization settings for the default implementation of the Memory Manager. More...
 
AKSOUNDENGINE_API void  AkCrtAllocatorInitForThread ()
 
AKSOUNDENGINE_API void  AkCrtAllocatorTermForThread ()
 
AKSOUNDENGINE_API void *  AkCrtAllocatorMalloc (AkMemPoolId poolId, size_t uSize)
 
AKSOUNDENGINE_API void *  AkCrtAllocatorMalign (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment)
 
AKSOUNDENGINE_API void *  AkCrtAllocatorRealloc (AkMemPoolId poolId, void *pAddress, size_t uSize)
 
AKSOUNDENGINE_API void *  AkCrtAllocatorReallocAligned (AkMemPoolId poolId, void *pAddress, size_t uSize, AkUInt32 uAlignment)
 
AKSOUNDENGINE_API void  AkCrtAllocatorFree (AkMemPoolId poolId, void *pAddress)
 
AKSOUNDENGINE_API size_t  AkCrtAllocatorTotalReservedMemorySize ()
 
AKSOUNDENGINE_API size_t  AkCrtAllocatorSizeOfMemory (AkMemPoolId poolID, void *pAddress)
 
AKSOUNDENGINE_API void  AkStompAllocatorInitForThread ()
 
AKSOUNDENGINE_API void  AkStompAllocatorTermForThread ()
 
AKSOUNDENGINE_API void *  AkStompAllocatorMalloc (AkMemPoolId poolId, size_t uSize)
 
AKSOUNDENGINE_API void *  AkStompAllocatorMalign (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment)
 
AKSOUNDENGINE_API void *  AkStompAllocatorRealloc (AkMemPoolId poolId, void *pAddress, size_t uSize)
 
AKSOUNDENGINE_API void *  AkStompAllocatorReallocAligned (AkMemPoolId poolId, void *pAddress, size_t uSize, AkUInt32 uAlignment)
 
AKSOUNDENGINE_API void  AkStompAllocatorFree (AkMemPoolId poolId, void *pAddress)
 
AKSOUNDENGINE_API size_t  AkStompAllocatorTotalReservedMemorySize ()
 
AKSOUNDENGINE_API size_t  AkStompAllocatorSizeOfMemory (AkMemPoolId poolID, void *pAddress)
 
AKSOUNDENGINE_API AKRESULT  AkMemDebugToolInit ()
  debug tool hooks AkMemoryMgr More...
 
AKSOUNDENGINE_API void  AkMemDebugToolTerm ()
 
AKSOUNDENGINE_API void  AkMemDebugToolMalloc (AkMemPoolId poolId, size_t uSize, void *pAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void  AkMemDebugToolMalign (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment, void *pAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void  AkMemDebugToolRealloc (AkMemPoolId poolId, void *pOldAddress, size_t uSize, void *pNewAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void  AkMemDebugToolReallocAligned (AkMemPoolId poolId, void *pOldAddress, size_t uSize, AkUInt32 uAlignment, void *pNewAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void  AkMemDebugToolFree (AkMemPoolId poolId, void *pAddress)
 
Initialization
AKSOUNDENGINE_API bool  IsInitialized ()
 
AKSOUNDENGINE_API void  Term ()
 
AKSOUNDENGINE_API void  InitForThread ()
 
AKSOUNDENGINE_API void  TermForThread ()
 
Memory Allocation
AKSOUNDENGINE_API void *  dMalloc (AkMemPoolId in_poolId, size_t in_uSize, const char *in_pszFile, AkUInt32 in_uLine)
 
AKSOUNDENGINE_API void *  Malloc (AkMemPoolId in_poolId, size_t in_uSize)
 
AKSOUNDENGINE_API void *  dRealloc (AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize, const char *in_pszFile, AkUInt32 in_uLine)
 
AKSOUNDENGINE_API void *  Realloc (AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize)
 
AKSOUNDENGINE_API void *  dReallocAligned (AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize, AkUInt32 in_uAlignment, const char *in_pszFile, AkUInt32 in_uLine)
 
AKSOUNDENGINE_API void *  ReallocAligned (AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize, AkUInt32 in_uAlignment)
 
AKSOUNDENGINE_API void  Free (AkMemPoolId in_poolId, void *in_pMemAddress)
 
AKSOUNDENGINE_API void *  dMalign (AkMemPoolId in_poolId, size_t in_uSize, AkUInt32 in_uAlignment, const char *in_pszFile, AkUInt32 in_uLine)
 
AKSOUNDENGINE_API void *  Malign (AkMemPoolId in_poolId, size_t in_uSize, AkUInt32 in_uAlignment)
 
Memory Profiling
AKSOUNDENGINE_API void  GetCategoryStats (AkMemPoolId in_poolId, CategoryStats &out_poolStats)
 
AKSOUNDENGINE_API void  GetGlobalStats (GlobalStats &out_stats)
 
AKSOUNDENGINE_API void  StartProfileThreadUsage ()
 
AKSOUNDENGINE_API AkUInt64  StopProfileThreadUsage ()
 
AKSOUNDENGINE_API void  DumpToFile (const AkOSChar *pszFilename)
 

Detailed Description

Memory Manager namespace.

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