Firelight Technologies FMOD Studio API
Adds the specified DSP unit as an input of the DSP object.
FMOD_RESULT DSP::addInput(
FMOD::DSP *input,
FMOD::DSPConnection **connection,
FMOD_DSPCONNECTION_TYPE type
);
FMOD_RESULT FMOD_DSP_AddInput(
FMOD_DSP *dsp,
FMOD_DSP *input,
FMOD_DSPCONNECTION **connection,
FMOD_DSPCONNECTION_TYPE type
);
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.
If you want to add a unit as an output of another unit, then add 'this' unit as an input of that unit instead.
Inputs are automatically mixed together, then the mixed data is sent to the unit's output(s).
To find the number of inputs or outputs a unit has use DSP::getNumInputs or DSP::getNumOutputs.
Note: The connection pointer retrieved here will become invalid if you disconnect the 2 dsp units that use it.
Version 1.03.06 Built on Apr 17, 2014