BASS_FXReset

BASS FX

BASS_FXReset

Resets the state of an effect or all effects on a channel.

BOOL BASS_FXReset(
    DWORD handle
);

Parameters

handle The effect or channel handle... a HFX, HSTREAM, HMUSIC, or HRECORD

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

Remarks
This function flushes the internal buffers of the effect(s). Effects are automatically reset by BASS_ChannelSetPosition, except when called from a "mixtime" SYNCPROC .

Error codes

BASS_ERROR_HANDLE handle is not valid
BASS_ERROR_ILLPARAM An illegal parameter was specified

See also
BASS_ChannelSetFX, BASS_ChannelRemoveFX, BASS_FXSetParameters, BASS_FXGetParameters