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
AkMemoryMgr.h File Reference

Go to the source code of this file.

Classes

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

Namespaces

namespace  AK
 Audiokinetic namespace.
 
 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_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)
 

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