Version

menu_open
Wwise SDK 2024.1.1
AkMemoryMgr.h File Reference

Go to the source code of this file.

Classes

struct  AK::MemoryMgr::CategoryStats
 
struct  AK::MemoryMgr::GlobalStats
 

Namespaces

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

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_BookmarkAlloc, AkMemID_NUM, AkMemID_MASK = 0x1FFFFFFF, AkMemType_Media = 0x20000000,
  AkMemType_Device = 0x40000000, AkMemType_NoTrack = 0x80000000
}
 

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)
 

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