BASS

BASS_FXReset


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

BOOL BASS_FXReset(
    DWORD handle
);

Parameters

handleThe 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.

Error codes

BASS_ERROR_HANDLEhandle is invalid.
BASS_ERROR_UNKNOWNSome other mystery problem!

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.

See also

BASS_ChannelSetFX