Version

menu_open
Wwise SDK 2021.1.14
AkMemSettings Struct Reference

#include <AkModule.h>

Public Attributes

High-level memory allocation hooks. When not NULL, redirect allocations normally forwarded to rpmalloc.
AkMemInitForThread  pfInitForThread
  (Optional) Thread-specific allocator initialization hook. More...
 
AkMemTermForThread  pfTermForThread
  (Optional) Thread-specific allocator termination hook. 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.
AkUInt64  uMemAllocationSizeLimit
  When non-zero, limits the total amount of virtual and device memory allocated by AK::MemoryMgr. More...
 
Page allocation hooks, used by rpmalloc. Default to AKPLATFORM::AllocVM et al.
AkMemAllocVM  pfAllocVM
  Virtual page allocation hook. More...
 
AkMemFreeVM  pfFreeVM
  Virtual page allocation hook. More...
 
AkMemAllocVM  pfAllocDevice
  Device page allocation hook. More...
 
AkMemFreeVM  pfFreeDevice
  Device page allocation hook. More...
 
AkUInt32  uVMPageSize
  Virtual memory page size. Defaults to 0 which means auto-detect. More...
 
AkUInt32  uDevicePageSize
  Device memory page size. Defaults to 0 which means auto-detect. 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 138 of 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