Channel::getMemoryInfo

FMOD Ex

 
Firelight Technologies FMOD Ex

Channel::getMemoryInfo

Retrieve detailed memory usage information about this object. 

C++ Syntax

FMOD_RESULT Channel::getMemoryInfo(
  unsigned int  memorybits, 
  unsigned int  event_memorybits, 
  unsigned int *  memoryused, 
  FMOD_MEMORY_USAGE_DETAILS *  memoryused_details
);

C Syntax

FMOD_RESULT FMOD_Channel_GetMemoryInfo(
  FMOD_CHANNEL *  channel,
  unsigned int  memorybits, 
  unsigned int  event_memorybits, 
  unsigned int *  memoryused, 
  FMOD_MEMORY_USAGE_DETAILS *  memoryused_details
);

Parameters

memorybits

Memory usage bits for FMOD Ex. See FMOD_MEMBITS.

event_memorybits

Memory usage bits for FMOD Event System. See FMOD_EVENT_MEMBITS.

memoryused

Optional. Specify 0 to ignore. Address of a variable to receive how much memory is being used by this object given the specified "memorybits" and "event_memorybits".

memoryused_details

Optional. Specify 0 to ignore. Address of a user-allocated FMOD_MEMORY_USAGE_DETAILS structure to be filled with detailed memory usage information about this object.

 

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.

 

Remarks

See System::getMemoryInfo for more details.

 

See Also

 

 

Version 4.44.07 Built on Feb 11, 2013