##### [API function]

## FSOUND_GetMemoryStats

Returns information on the memory usage of fmod. This is useful for determining a fixed memory size to
make FMOD work within for fixed memory machines such as pocketpc and consoles.

DLL_API void F_API FSOUND_GetMemoryStats(
unsigned int *currentalloced,
unsigned int *maxalloced
);

### Parameters

currentalloced | Currently allocated memory at time of call.
maxalloced | Maximum allocated memory since FSOUND_Init or FSOUND_SetMemorySystem

### Return Value

void

### Remarks

Note that if using FSOUND_SetMemorySystem, the memory usage will be slightly higher than without it, as fmod has to have a small amount of memory overhead to manage the available memory.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube

### See Also

FSOUND_ALLOCCALLBACK , FSOUND_FREECALLBACK , FSOUND_GetFreeHWRam , FSOUND_Init , FSOUND_REALLOCCALLBACK , FSOUND_SetMemorySystem

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:30 2005 by SourceDoc v0.10, the automated source code documenter.