Firelight Technologies FMOD Studio API
Retrieves the idle state of a DSP. A DSP is idle when no signal is coming into it. This can be a useful method of determining if a DSP sub branch is finished processing, so it can be disconnected for example.
FMOD_RESULT DSP::getIdle(
bool *idle
);
FMOD_RESULT FMOD_DSP_GetIdle(
FMOD_DSP *dsp,
FMOD_BOOL *idle
);
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.
The idle state takes into account things like tails of echo filters, even if a wavetable or dsp has finished generating sound. When all nodes in a graph have finished processing, only then will it set the top level DSP state to idle.
Version 1.03.06 Built on Apr 17, 2014