##### [API function]

## FSOUND_GetFreeHWRam

Return free SRAM and IOP ram after or before FMOD is initialized.

signed char F_API FSOUND_GetFreeHWRam(
int *spu2ram,
int *iopram
);

### Parameters

spu2ram | Pointer to variable to contain free SPU2 ram.
iopram | Pointer to variable to contain free IOP ram.

### Return Value

On success, TRUE is returned.
On failure, FALSE is returned.

### Remarks

Free IOP ram means IOP memory free before initializing FMOD, or after FMOD memory pool size is specified with
FSOUND_SetMemorySystem and FSOUND_Init. For example on a 2mb IOP system, before FSOUND_Init it might return
2mb, and after, if you call FSOUND_Init with a memory pool size of 1.5mb, this function would return .5mb.
This is different to the values returned by FSOUND_GetMemoryStats, which is the memory information within that
1.5mb pool.
------------------
Note using FSOUND_INIT_DISABLE_CORE0_REVERB or/and FSOUND_INIT_DISABLE_CORE1_REVERB will regain SPU2 ram,
but disables hardware reverb. Use this if you want to fit more sounds in and are not worried about reverb.
------------------
This function can be called before or after FSOUND_Init.
___________________
Supported on the following platforms : PlayStation 2

### See Also

FSOUND_GetMemoryStats , FSOUND_Init , FSOUND_SetMemorySystem

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