DSP::getNumParameters

FMOD Studio API

Firelight Technologies FMOD Studio API

DSP::getNumParameters

Retrieves the number of parameters a DSP unit has to control its behaviour.

C++ Syntax

FMOD_RESULT DSP::getNumParameters(
  int *numparams
);

C Syntax

FMOD_RESULT FMOD_DSP_GetNumParameters(
  FMOD_DSP *dsp,
  int *numparams
);

C# Syntax

RESULT DSP.getNumParameters(
  out int numparams
);

JavaScript Syntax

DSP.getNumParameters(
  numparams                        // writes value to numparams.val
);

Parameters

numparams
Address of a variable that receives the number of parameters contained within this DSP unit.

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

Use this to enumerate all parameters of a DSP unit with DSP::getParameterInfo.

See Also




Version 1.10.03 Built on Feb 1, 2018