BASS_ChannelRemoveDSP

Removes a DSP function from a stream, MOD music, or recording channel.

BOOL BASS_ChannelRemoveDSP(
    DWORD handle,
    HDSP dsp
);

Parameters

handleThe channel handle... a HSTREAM, HMUSIC, or HRECORD.
dspHandle of the DSP function to remove from the channel. This can also be an HFX handle to remove an effect.

Return value

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

Error codes

BASS_ERROR_HANDLEAt least one of handle and dsp is not valid.

Remarks

BASS_FXFree can be used to remove a DSP function without requiring the host channel's handle.

See also

BASS_ChannelSetDSP, BASS_ChannelSetDSPEx