Firelight Technologies FMOD Studio API

DSP::getBypass

Retrieves the bypass state of the DSP unit.

C++ Syntax

FMOD_RESULT DSP::getBypass(
  bool *bypass
);

C Syntax

FMOD_RESULT FMOD_DSP_GetBypass(
  FMOD_DSP *dsp,
  FMOD_BOOL *bypass
);

Parameters

bypass
Address of a variable that receieves the bypass state for a DSP unit. true = unit is not processing audio data, false = unit is processing audio data. Default = false.

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.

Remarks

If a unit is bypassed, it will still process its inputs, unlike DSP::setActive (when set to false) which causes inputs to stop processing as well.

See Also




Version 1.03.06 Built on Apr 17, 2014