Go to the documentation of this file.
31 #ifndef _AKMEMORYMGR_H_
32 #define _AKMEMORYMGR_H_
34 #if !defined( AK_OPTIMIZED ) && !( defined AK_DISABLE_MEMDEBUG )
164 const char *in_pszFile,
167 #endif // AK_MEMDEBUG
187 const char *in_pszFile,
190 #endif // AK_MEMDEBUG
212 const char *in_pszFile,
215 #endif // AK_MEMDEBUG
233 void * in_pMemAddress
245 const char* in_pszFile,
248 #endif // AK_MEMDEBUG
300 #endif // _AKMEMORYMGR_H_
@ AkMemID_Processing
Anything tied to instancing and processing of the DSP graph.
AKSOUNDENGINE_API void DumpToFile(const AkOSChar *pszFilename)
@ AkMemID_SpatialAudioPaths
Spatial audio paths data.
@ AkMemID_MonitorQueue
Monitor Queue.
@ AkMemID_FilePackage
File packager.
AKSOUNDENGINE_API void TermForThread()
AKSOUNDENGINE_API void * dRealloc(AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize, const char *in_pszFile, AkUInt32 in_uLine)
AkUInt64 uPeakUsed
Peak used memory (in bytes)
AkUInt64 uDeviceUsed
Total device memory used including all categories (in bytes)
@ AkMemID_StreamingIO
Streaming Manager I/O memory.
AKSOUNDENGINE_API void * dMalloc(AkMemPoolId in_poolId, size_t in_uSize, const char *in_pszFile, AkUInt32 in_uLine)
@ AkMemID_Media
Media from the Wwise project.
@ AkMemID_Integration
Game engine integration allocations.
@ AkMemID_Object
Generic placeholder for allocations tied to the Wwise project.
AKSOUNDENGINE_API void * dMalign(AkMemPoolId in_poolId, size_t in_uSize, AkUInt32 in_uAlignment, const char *in_pszFile, AkUInt32 in_uLine)
AKSOUNDENGINE_API void Free(AkMemPoolId in_poolId, void *in_pMemAddress)
#define AK_EXTERNAPIFUNC(_type, _name)
AKSOUNDENGINE_API void * Malloc(AkMemPoolId in_poolId, size_t in_uSize)
AkInt32 AkMemPoolId
Memory pool ID.
@ AkMemID_Profiler
Profiler.
AkMemID
Memory category IDs.
AkUInt32 uAllocs
Number of allocation calls since initialization.
AKSOUNDENGINE_API void Term()
AKSOUNDENGINE_API void GetGlobalStats(GlobalStats &out_stats)
AKSOUNDENGINE_API void InitForThread()
@ AkMemID_SpatialAudioGeometry
Spatial audio geometry data.
AkUInt64 uReserved
Total reserved memory. (Used and unused). Will return 0 if the reserved memory is not traceable.
AkUInt64 uMax
Maximum total allocation size, specified in the initialization settings through uMemAllocationSizeLim...
AKSOUNDENGINE_API void * dReallocAligned(AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize, AkUInt32 in_uAlignment, const char *in_pszFile, AkUInt32 in_uLine)
AKSOUNDENGINE_API void * Malign(AkMemPoolId in_poolId, size_t in_uSize, AkUInt32 in_uAlignment)
@ AkMemID_SoundEngine
Base sound engine allocations (managers, etc).
AKSOUNDENGINE_API void StartProfileThreadUsage()
@ AkMemID_GameSim
Game Simulator allocations.
@ AkMemID_GameObject
Game Objects and related.
@ AkMemID_Streaming
Streaming Manager objects.
@ AkMemID_NUM
Category count.
@ AkMemID_MASK
Mask for category IDs.
AKSOUNDENGINE_API void * Realloc(AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize)
@ AkMemID_Structure
Structures from the Wwise project.
@ AkMemID_Event
Events from the Wwise project.
AKSOUNDENGINE_API AkUInt64 StopProfileThreadUsage()
AkUInt64 uUsed
Total memory used including all categories (in bytes)
AkUInt64 uUsed
Used memory (in bytes)
@ AkMemID_ProcessingPlugin
Plug-in allocations related to the DSP graph.
AKSOUNDENGINE_API void GetCategoryStats(AkMemPoolId in_poolId, CategoryStats &out_poolStats)
@ AkMemType_NoTrack
Do not track this allocation.
AKSOUNDENGINE_API bool IsInitialized()
@ AkMemID_SpatialAudio
Spatial audio.
AKSOUNDENGINE_API void * ReallocAligned(AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize, AkUInt32 in_uAlignment)
@ AkMemType_Device
Device memory type bit.
@ AkMemType_Media
Media memory type bit.
AkUInt32 uFrees
Number of free calls since initialization.
Besoin d'aide ?
Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'Aide
Décrivez-nous de votre projet. Nous sommes là pour vous aider.
Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise