Firelight Technologies FMOD Studio API
Helper function to disconnect either all inputs or all outputs of a dsp unit.
FMOD_RESULT DSP::disconnectAll(
bool inputs,
bool outputs
);
FMOD_RESULT FMOD_DSP_DisconnectAll(
FMOD_DSP *dsp,
FMOD_BOOL inputs,
FMOD_BOOL outputs
);
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 is optimized to be faster than disconnecting inputs and outputs manually one by one.
Important note: If you have a handle to DSPConnection pointers that bind any of the inputs or outputs to this DSP unit, then they will become invalid. The connections are sent back to a freelist to be re-used again by a later addInput command.
Version 1.03.06 Built on Apr 17, 2014