Version

menu_open
Wwise SDK 2023.1.9
AkModule.h File Reference

Go to the source code of this file.

Classes

struct  AkMemSettings
 

Namespaces

namespace  AK
 Audiokinetic namespace.
 
 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...
 
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  AkSpanCount { AkSpanCount_Small = 0, AkSpanCount_Medium, AkSpanCount_Huge, AkSpanCount_END }
 
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)
 
typedef void *(* AkMemAllocVM) (size_t size, size_t *extra)
 
typedef void(* AkMemFreeVM) (void *address, size_t size, size_t extra, size_t release)
 

Detailed Description

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

Definition in file AkModule.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