Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2024.1.1.8691 ). 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 2024.1.1
AkMemSettings Struct Reference

#include <AkMemoryMgrModule.h>

Public Attributes

High-level memory allocation hooks. When not NULL, redirect allocations normally forwarded to internal memory systems.
AkMemInitForThread pfInitForThread
 (Optional) Thread-specific allocator initialization hook. More...
 
AkMemTermForThread pfTermForThread
 (Optional) Thread-specific allocator termination hook. More...
 
AkMemTrimForThread pfTrimForThread
 (Optional) Thread-specific allocator "trimming" hook. Used to relinquish memory resources when threads enter a period of inactivity. More...
 
AkMemMalloc pfMalloc
 (Optional) Memory allocation hook. More...
 
AkMemMalign pfMalign
 (Optional) Memory allocation hook. More...
 
AkMemRealloc pfRealloc
 (Optional) Memory allocation hook. More...
 
AkMemReallocAligned pfReallocAligned
 (Optional) Memory allocation hook. More...
 
AkMemFree pfFree
 (Optional) Memory allocation hook. More...
 
AkMemTotalReservedMemorySize pfTotalReservedMemorySize
 (Optional) Memory allocation statistics hook. More...
 
AkMemSizeOfMemory pfSizeOfMemory
 (Optional) Memory allocation statistics hook. More...
 
Configuration.
AK::MemoryArena::AkMemoryArenaSettings memoryArenaSettings [AkMemoryMgrArena_NUM]
 Configuration of memory arenas for default memory allocator. For more information, see Configuration and Tuning of AkMemoryArenas. More...
 
AK::TempAlloc::InitSettings tempAllocSettings [AK::TempAlloc::Type_NUM]
 Configuration of behavior for the temporary-memory pools. For more information, see Tuning "Temp Alloc" Memory. More...
 
AK::BookmarkAlloc::InitSettings bookmarkAllocSettings
 Configuration of behavior for the bookmark-allocated memory. For more information, see Tuning "Bookmark Allocator" Memory. More...
 
Memory allocation debugging.
AkMemDebugMalloc pfDebugMalloc
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfMalloc. More...
 
AkMemDebugMalign pfDebugMalign
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfMalign. More...
 
AkMemDebugRealloc pfDebugRealloc
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfRealloc. More...
 
AkMemDebugReallocAligned pfDebugReallocAligned
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfReallocAligned. More...
 
AkMemDebugFree pfDebugFree
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfFree. More...
 
AkUInt32 uMemoryDebugLevel
 Default 0 disabled. 1 debug enabled. 2 stomp allocator enabled. 3 stomp allocator and debug enabled. User implementations may use multiple non-zero values to offer different features. More...
 

Detailed Description

Initialization settings for the default implementation of the Memory Manager. For more details, see Initialization.

See also
AK::MemoryMgr

Definition at line 148 of 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