BASS_FXSetBypass

Pauses or resumes an effect or DSP function.

BOOL BASS_FXSetBypass(
    DWORD handle,
    BOOL bypass
);

Parameters

handleThe DSP/FX handle... a HDSP or HFX.
bypassBypass the DSP/FX?

Return value

If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_HANDLEhandle is invalid.

Remarks

When an effect has been paused, it is generally a good idea to clear its buffers with BASS_FXReset before resuming it, so that old sound is not heard from it.

See also

BASS_ChannelSetDSP, BASS_ChannelSetDSPEx, BASS_ChannelSetFX