Firelight Technologies FMOD Studio API

System::getSoundRAM

Retrieves the amount of dedicated sound ram available if the platform supports it.
Most platforms use main ram to store audio data, so this function usually isn't necessary.

C++ Syntax

FMOD_RESULT System::getSoundRAM(
  int *currentalloced,
  int *maxalloced,
  int *total
);

C Syntax

FMOD_RESULT FMOD_System_GetSoundRAM(
  FMOD_SYSTEM *system,
  int *currentalloced,
  int *maxalloced,
  int *total
);

Parameters

currentalloced
Address of a variable that receives the currently allocated sound ram memory at time of call. Optional. Specify 0 or NULL to ignore.
maxalloced
Address of a variable that receives the maximum allocated sound ram memory since System::init. Optional. Specify 0 or NULL to ignore.
total
Address of a variable that receives the total amount of sound ram available on this device.

Return Values

If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.

See Also




Version 1.03.06 Built on Apr 17, 2014