Firelight Technologies FMOD Studio API
Moves a DSP inside a Channelgroup's DSP chain.
FMOD_RESULT ChannelGroup::setDSPIndex(
FMOD::DSP *dsp,
int index
);
FMOD_RESULT FMOD_ChannelGroup_SetDSPIndex(
FMOD_CHANNELGROUP *channelgroup,
FMOD_DSP *dsp,
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 is useful for reordering DSP units inside a ChannelGroup, so that processing can happen in a certain order.
The unit specified must exist inside the ChannelGroup, or an error will be returned.
Verify the order using enumeration/iteration using ChannelGroup::getDSP or use the FMOD Studio Profiler tool which visualizes the units.
If a unit is specified at the location of an existing unit (as it always will be) then the existing unit's index is shifted down one.
Version 1.03.06 Built on Apr 17, 2014