DSP::setParameterBool

FMOD Studio API

Firelight Technologies FMOD Studio API

DSP::setParameterBool

Sets a DSP unit's boolean parameter by index. To find out the parameter names and range, see the see also field.

C++ Syntax

FMOD_RESULT DSP::setParameterBool(
  int index,
  bool value
);

C Syntax

FMOD_RESULT FMOD_DSP_SetParameterBool(
  FMOD_DSP *dsp,
  int index,
  FMOD_BOOL value
);

C# Syntax

RESULT DSP.setParameterBool(
  int index,
  bool value
);

JavaScript Syntax

DSP.setParameterBool(
  index,                           
  value                            
);

Parameters

index
Parameter index for this unit. Find the number of parameters with DSP::getNumParameters.
value
Boolean parameter value to be passed to the DSP unit. Should be TRUE or FALSE.

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

The parameter properties (such as min/max values) can be retrieved with DSP::getParameterInfo.

See Also




Version 1.10.03 Built on Feb 1, 2018