版本

menu_open
Wwise SDK 2024.1.1
AkMemoryMgrModule.h 文件参考

浏览源代码.

struct  AkMemSettings
 

命名空间

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

函数

AKSOUNDENGINE_API AKRESULT AK::MemoryMgr::Init (AkMemSettings *in_pSettings)
 
AKSOUNDENGINE_API void AK::MemoryMgr::GetDefaultSettings (AkMemSettings &out_pMemSettings)
 Obtain the default initialization settings for the default implementation of the Memory Manager. 更多...
 
AKSOUNDENGINE_API void AK::MemoryMgr::VerifyMemoryArenaIntegrity (AkMemoryMgrArena in_eArena)
 
AKSOUNDENGINE_API AK::MemoryArena::AkMemoryArena * AK::MemoryMgr::GetMemoryArena (AkMemoryMgrArena in_eArena)
 Helper to fetch each the arena. Should only be used for debug purposes, e.g. profiling, stats, integrity checks. Returns null in AK_OPTIMIZED builds 更多...
 
C runtime allocator functions for the default implementation of the Memory Manager.
AKSOUNDENGINE_API void AK::MemoryMgr::AkCrtAllocatorInitForThread ()
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkCrtAllocatorTermForThread ()
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkCrtAllocatorTrimForThread ()
 
AKSOUNDENGINE_API void * AK::MemoryMgr::AkCrtAllocatorMalloc (AkMemPoolId poolId, size_t uSize)
 
AKSOUNDENGINE_API void * AK::MemoryMgr::AkCrtAllocatorMalign (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment)
 
AKSOUNDENGINE_API void * AK::MemoryMgr::AkCrtAllocatorRealloc (AkMemPoolId poolId, void *pAddress, size_t uSize)
 
AKSOUNDENGINE_API void * AK::MemoryMgr::AkCrtAllocatorReallocAligned (AkMemPoolId poolId, void *pAddress, size_t uSize, AkUInt32 uAlignment)
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkCrtAllocatorFree (AkMemPoolId poolId, void *pAddress)
 
AKSOUNDENGINE_API size_t AK::MemoryMgr::AkCrtAllocatorTotalReservedMemorySize ()
 
AKSOUNDENGINE_API size_t AK::MemoryMgr::AkCrtAllocatorSizeOfMemory (AkMemPoolId poolID, void *pAddress)
 
Debug tool hooks for the default implementation of the Memory Manager.
AKSOUNDENGINE_API AKRESULT AK::MemoryMgr::AkMemDebugToolInit ()
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkMemDebugToolTerm ()
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkMemDebugToolMalloc (AkMemPoolId poolId, size_t uSize, void *pAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkMemDebugToolMalign (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment, void *pAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkMemDebugToolRealloc (AkMemPoolId poolId, void *pOldAddress, size_t uSize, void *pNewAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkMemDebugToolReallocAligned (AkMemPoolId poolId, void *pOldAddress, size_t uSize, AkUInt32 uAlignment, void *pNewAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void AK::MemoryMgr::AkMemDebugToolFree (AkMemPoolId poolId, void *pAddress)
 

Audiokinetic Memory Manager's implementation-specific definitions.

#define AK_CRT_ALLOCATOR_SUPPORTED
 
enum  AkMemoryMgrArena {
  AkMemoryMgrArena_Primary = 0, AkMemoryMgrArena_Media, AkMemoryMgrArena_Profiler, AkMemoryMgrArena_Device,
  AkMemoryMgrArena_NUM
}
 
typedef void(* AkMemInitForThread) ()
 
typedef void(* AkMemTermForThread) ()
 
typedef void(* AkMemTrimForThread) ()
 
typedef void *(* AkMemMalloc) (AkMemPoolId poolId, size_t uSize)
 
typedef void *(* AkMemMalign) (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment)
 
typedef void *(* AkMemRealloc) (AkMemPoolId poolId, void *pAddress, size_t uSize)
 
typedef void *(* AkMemReallocAligned) (AkMemPoolId poolId, void *pAddress, size_t uSize, AkUInt32 uAlignment)
 
typedef void(* AkMemFree) (AkMemPoolId poolId, void *pAddress)
 
typedef size_t(* AkMemTotalReservedMemorySize) ()
 
typedef size_t(* AkMemSizeOfMemory) (AkMemPoolId poolId, void *pAddress)
 
typedef void(* AkMemDebugMalloc) (AkMemPoolId poolId, size_t uSize, void *pAddress, char const *pszFile, AkUInt32 uLine)
 
typedef void(* AkMemDebugMalign) (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment, void *pAddress, char const *pszFile, AkUInt32 uLine)
 
typedef void(* AkMemDebugRealloc) (AkMemPoolId poolId, void *pOldAddress, size_t uSize, void *pNewAddress, char const *pszFile, AkUInt32 uLine)
 
typedef void(* AkMemDebugReallocAligned) (AkMemPoolId poolId, void *pOldAddress, size_t uSize, AkUInt32 uAlignment, void *pNewAddress, char const *pszFile, AkUInt32 uLine)
 
typedef void(* AkMemDebugFree) (AkMemPoolId poolId, void *pAddress)
 

详细描述

Audiokinetic's definitions and factory of overridable Memory Manager module.

在文件 AkMemoryMgrModule.h 中定义.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅