ChannelGroup::getDSPIndex

FMOD Studio API

Firelight Technologies FMOD Studio API

ChannelGroup::getDSPIndex

Retrieves the index in the DSP chain of the provided DSP.

C++ Syntax

FMOD_RESULT ChannelGroup::getDSPIndex(
  DSP *dsp,
  int *index
);

C Syntax

FMOD_RESULT FMOD_ChannelGroup_GetDSPIndex(
  FMOD_CHANNELGROUP *channelgroup,
  FMOD_DSP *dsp,
  int *index
);

C# Syntax

RESULT ChannelGroup.getDSPIndex(
  DSP dsp,
  out int index
);

JavaScript Syntax

ChannelGroup.getDSPIndex(
  dsp,                             
  index                            // writes value to index.val
);

Parameters

dsp
Pointer to a DSP unit that exists in the DSP chain.
index
Address of a variable to receive the offset in the DSP chain of the specified DSP.

Return Values

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.

See Also




Version 1.10.03 Built on Feb 1, 2018