BASS_FX_BPM_CallbackReset

BASS FX

BASS_FX_BPM_CallbackReset

Reset the buffers. Call this function after changing position.

BOOL BASS_FX_BPM_CallbackReset(
    DWORD handle
);

Parameters

handleStream/music/wma/cd/any other supported add-on format

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 BPM callback. BPM callback is automatically reset by BASS_ChannelSetPosition, except when called from a "mixtime" SYNCPROC .

Error code

BASS_ERROR_HANDLE handle is not valid

See also
BASS_FX_BPM_DecodeGet, BASS_FX_BPM_CallbackSet, BASS_FX_BPM_Translate, BASS_FX_BPM_Free