Firelight Technologies FMOD Studio API

DSP::setParameterData

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

C++ Syntax

FMOD_RESULT DSP::setParameterData(
  int index,
  void *data,
  unsigned int length
);

C Syntax

FMOD_RESULT FMOD_DSP_SetParameterData(
  FMOD_DSP *dsp,
  int index,
  void *data,
  unsigned int length
);

Parameters

index
Parameter index for this unit. Find the number of parameters with DSP::getNumParameters.
data
length
Length of data block in byte sbeing passed in.

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.03.06 Built on Apr 17, 2014