Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.17.8543 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2022.1.17
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...
 
Initialization
AKSOUNDENGINE_API bool IsInitialized ()
 
AKSOUNDENGINE_API void Term ()
 
AKSOUNDENGINE_API void InitForThread ()
 
AKSOUNDENGINE_API void TermForThread ()
 
AKSOUNDENGINE_API void TrimForThread ()
 
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)
 
C runtime allocator functions for the default implementation of the Memory Manager.
AKSOUNDENGINE_API void AkCrtAllocatorInitForThread ()
 
AKSOUNDENGINE_API void AkCrtAllocatorTermForThread ()
 
AKSOUNDENGINE_API void AkCrtAllocatorTrimForThread ()
 
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)
 
Stomp allocator functions for the default implementation of the Memory Manager.
AKSOUNDENGINE_API void AkStompAllocatorInitForThread ()
 
AKSOUNDENGINE_API void AkStompAllocatorTermForThread ()
 
AKSOUNDENGINE_API void AkStompAllocatorTrimForThread ()
 
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)
 
Debug tool hooks for the default implementation of the Memory Manager.
AKSOUNDENGINE_API AKRESULT AkMemDebugToolInit ()
 
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)
 

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