Version

menu_open
Wwise SDK 2023.1.3
AkMemoryMgr.h File Reference

Go to the source code of this file.

Classes

struct  AK::MemoryMgr::CategoryStats
 
struct  AK::MemoryMgr::GlobalStats
 
struct  AK::TempAlloc::Stats
 
struct  AK::TempAlloc::InitSettings
 Initialization settings for temporary-memory pools. Separate settings are specified for each temporary-memory pool. More...
 

Namespaces

namespace  AK
 Audiokinetic namespace.
 
 AK::MemoryMgr
 
 AK::TempAlloc
 

Macros

#define AK_MEMDEBUG
 

Enumerations

enum  AkMemID {
  AkMemID_Object, AkMemID_Event, AkMemID_Structure, AkMemID_Media,
  AkMemID_GameObject, AkMemID_Processing, AkMemID_ProcessingPlugin, AkMemID_Streaming,
  AkMemID_StreamingIO, AkMemID_SpatialAudio, AkMemID_SpatialAudioGeometry, AkMemID_SpatialAudioPaths,
  AkMemID_GameSim, AkMemID_MonitorQueue, AkMemID_Profiler, AkMemID_FilePackage,
  AkMemID_SoundEngine, AkMemID_Integration, AkMemID_JobMgr, AkMemID_TempAudioRender,
  AkMemID_NUM, AkMemID_MASK = 0x1FFFFFFF, AkMemType_Media = 0x20000000, AkMemType_Device = 0x40000000,
  AkMemType_NoTrack = 0x80000000
}
 Memory category IDs. More...
 

Functions

Initialization
AKSOUNDENGINE_API bool AK::MemoryMgr::IsInitialized ()
 
AKSOUNDENGINE_API void AK::MemoryMgr::Term ()
 
AKSOUNDENGINE_API void AK::MemoryMgr::InitForThread ()
 
AKSOUNDENGINE_API void AK::MemoryMgr::TermForThread ()
 
AKSOUNDENGINE_API void AK::MemoryMgr::TrimForThread ()
 
Memory Allocation
AKSOUNDENGINE_API void * AK::MemoryMgr::dMalloc (AkMemPoolId in_poolId, size_t in_uSize, const char *in_pszFile, AkUInt32 in_uLine)
 
AKSOUNDENGINE_API void * AK::MemoryMgr::Malloc (AkMemPoolId in_poolId, size_t in_uSize)
 
AKSOUNDENGINE_API void * AK::MemoryMgr::dRealloc (AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize, const char *in_pszFile, AkUInt32 in_uLine)
 
AKSOUNDENGINE_API void * AK::MemoryMgr::Realloc (AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize)
 
AKSOUNDENGINE_API void * AK::MemoryMgr::dReallocAligned (AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize, AkUInt32 in_uAlignment, const char *in_pszFile, AkUInt32 in_uLine)
 
AKSOUNDENGINE_API void * AK::MemoryMgr::ReallocAligned (AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize, AkUInt32 in_uAlignment)
 
AKSOUNDENGINE_API void AK::MemoryMgr::Free (AkMemPoolId in_poolId, void *in_pMemAddress)
 
AKSOUNDENGINE_API void * AK::MemoryMgr::dMalign (AkMemPoolId in_poolId, size_t in_uSize, AkUInt32 in_uAlignment, const char *in_pszFile, AkUInt32 in_uLine)
 
AKSOUNDENGINE_API void * AK::MemoryMgr::Malign (AkMemPoolId in_poolId, size_t in_uSize, AkUInt32 in_uAlignment)
 
Memory Profiling
AKSOUNDENGINE_API void AK::MemoryMgr::GetCategoryStats (AkMemPoolId in_poolId, CategoryStats &out_poolStats)
 
AKSOUNDENGINE_API void AK::MemoryMgr::GetGlobalStats (GlobalStats &out_stats)
 
AKSOUNDENGINE_API void AK::MemoryMgr::StartProfileThreadUsage ()
 
AKSOUNDENGINE_API AkUInt64 AK::MemoryMgr::StopProfileThreadUsage ()
 
AKSOUNDENGINE_API void AK::MemoryMgr::DumpToFile (const AkOSChar *pszFilename)
 

TempAlloc systems

enum  AK::TempAlloc::Type { AK::TempAlloc::Type_AudioRender, AK::TempAlloc::Type_NUM }
 IDs of temporary memory pools used by the sound engine. More...
 
AKSOUNDENGINE_API void AK::TempAlloc::GetStats (Type in_eType, Stats &out_stats)
 Get simple statistics for a given temporary-memory pool. More...
 
AKSOUNDENGINE_API void AK::TempAlloc::DumpTempAllocsToFile (Type in_eType, const AkOSChar *pszFilename)
 

Detailed Description

Memory Manager namespace.

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