Version

menu_open
Wwise SDK 2024.1.1
AkMemoryMgrModule.h File Reference

Go to the source code of this file.

Classes

struct  AkMemSettings
 

Namespaces

namespace  AK
 Definition of data structures for AkAudioObject.
 
 AK::MemoryArena
 
 AK::MemoryMgr
 

Functions

AKSOUNDENGINE_API AKRESULT AK::MemoryMgr::Init (AkMemSettings *in_pSettings)
 
AKSOUNDENGINE_API void AK::MemoryMgr::GetDefaultSettings (AkMemSettings &out_pMemSettings)
 Obtain the default initialization settings for the default implementation of the Memory Manager. More...
 
AKSOUNDENGINE_API void AK::MemoryMgr::VerifyMemoryArenaIntegrity (AkMemoryMgrArena in_eArena)
 
AKSOUNDENGINE_API AK::MemoryArena::AkMemoryArena * AK::MemoryMgr::GetMemoryArena (AkMemoryMgrArena in_eArena)
 Helper to fetch each the arena. Should only be used for debug purposes, e.g. profiling, stats, integrity checks. Returns null in AK_OPTIMIZED builds. More...
 
C runtime allocator functions for the default implementation of the Memory Manager.
AKSOUNDENGINE_API void AK::MemoryMgr::AkCrtAllocatorInitForThread ()
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkCrtAllocatorTermForThread ()
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkCrtAllocatorTrimForThread ()
 
AKSOUNDENGINE_API void * AK::MemoryMgr::AkCrtAllocatorMalloc (AkMemPoolId poolId, size_t uSize)
 
AKSOUNDENGINE_API void * AK::MemoryMgr::AkCrtAllocatorMalign (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment)
 
AKSOUNDENGINE_API void * AK::MemoryMgr::AkCrtAllocatorRealloc (AkMemPoolId poolId, void *pAddress, size_t uSize)
 
AKSOUNDENGINE_API void * AK::MemoryMgr::AkCrtAllocatorReallocAligned (AkMemPoolId poolId, void *pAddress, size_t uSize, AkUInt32 uAlignment)
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkCrtAllocatorFree (AkMemPoolId poolId, void *pAddress)
 
AKSOUNDENGINE_API size_t AK::MemoryMgr::AkCrtAllocatorTotalReservedMemorySize ()
 
AKSOUNDENGINE_API size_t AK::MemoryMgr::AkCrtAllocatorSizeOfMemory (AkMemPoolId poolID, void *pAddress)
 
Debug tool hooks for the default implementation of the Memory Manager.
AKSOUNDENGINE_API AKRESULT AK::MemoryMgr::AkMemDebugToolInit ()
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkMemDebugToolTerm ()
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkMemDebugToolMalloc (AkMemPoolId poolId, size_t uSize, void *pAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkMemDebugToolMalign (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment, void *pAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkMemDebugToolRealloc (AkMemPoolId poolId, void *pOldAddress, size_t uSize, void *pNewAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkMemDebugToolReallocAligned (AkMemPoolId poolId, void *pOldAddress, size_t uSize, AkUInt32 uAlignment, void *pNewAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkMemDebugToolFree (AkMemPoolId poolId, void *pAddress)
 

Audiokinetic Memory Manager's implementation-specific definitions.

#define AK_CRT_ALLOCATOR_SUPPORTED
 
enum  AkMemoryMgrArena {
  AkMemoryMgrArena_Primary = 0, AkMemoryMgrArena_Media, AkMemoryMgrArena_Profiler, AkMemoryMgrArena_Device,
  AkMemoryMgrArena_NUM
}
 
typedef void(* AkMemInitForThread) ()
 
typedef void(* AkMemTermForThread) ()
 
typedef void(* AkMemTrimForThread) ()
 
typedef void *(* AkMemMalloc) (AkMemPoolId poolId, size_t uSize)
 
typedef void *(* AkMemMalign) (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment)
 
typedef void *(* AkMemRealloc) (AkMemPoolId poolId, void *pAddress, size_t uSize)
 
typedef void *(* AkMemReallocAligned) (AkMemPoolId poolId, void *pAddress, size_t uSize, AkUInt32 uAlignment)
 
typedef void(* AkMemFree) (AkMemPoolId poolId, void *pAddress)
 
typedef size_t(* AkMemTotalReservedMemorySize) ()
 
typedef size_t(* AkMemSizeOfMemory) (AkMemPoolId poolId, void *pAddress)
 
typedef void(* AkMemDebugMalloc) (AkMemPoolId poolId, size_t uSize, void *pAddress, char const *pszFile, AkUInt32 uLine)
 
typedef void(* AkMemDebugMalign) (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment, void *pAddress, char const *pszFile, AkUInt32 uLine)
 
typedef void(* AkMemDebugRealloc) (AkMemPoolId poolId, void *pOldAddress, size_t uSize, void *pNewAddress, char const *pszFile, AkUInt32 uLine)
 
typedef void(* AkMemDebugReallocAligned) (AkMemPoolId poolId, void *pOldAddress, size_t uSize, AkUInt32 uAlignment, void *pNewAddress, char const *pszFile, AkUInt32 uLine)
 
typedef void(* AkMemDebugFree) (AkMemPoolId poolId, void *pAddress)
 

Detailed Description

Audiokinetic's definitions and factory of overridable Memory Manager module.

Definition in file AkMemoryMgrModule.h.


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