System::getNumPlugins

FMOD Studio API

Firelight Technologies FMOD Studio API

System::getNumPlugins

Retrieves the number of available plugins loaded into FMOD at the current time.

C++ Syntax

FMOD_RESULT System::getNumPlugins(
  FMOD_PLUGINTYPE plugintype,
  int *numplugins
);

C Syntax

FMOD_RESULT FMOD_System_GetNumPlugins(
  FMOD_SYSTEM *system,
  FMOD_PLUGINTYPE plugintype,
  int *numplugins
);

C# Syntax

RESULT System.getNumPlugins(
  PLUGINTYPE plugintype,
  out int numplugins
);

JavaScript Syntax

System.getNumPlugins(
  plugintype,                      
  numplugins                       // writes value to numplugins.val
);

Parameters

plugintype
Plugin type such as FMOD_PLUGINTYPE_OUTPUT, FMOD_PLUGINTYPE_CODEC or FMOD_PLUGINTYPE_DSP.
numplugins
Address of a variable that receives the number of available plugins for the selected type.

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.10.03 Built on Feb 1, 2018