Firelight Technologies FMOD Studio API
Retrieve the index of the first data parameter of a particular data type.
FMOD_RESULT DSP::getDataParameterIndex(
int datatype,
int *index
);
FMOD_RESULT FMOD_DSP_GetDataParameterIndex(
FMOD_DSP *dsp,
int datatype,
int *index
);
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.
This function returns FMOD_OK if a parmeter of matching type is found and FMOD_ERR_INVALID_PARAM if no matches were found.
The return code can therefore be used to check whether the DSP supports specific functionality through data parameters of certain types without the need to pass in 'index'.
Version 1.03.06 Built on Apr 17, 2014