BASS_FX_BPM_BeatCallbackReset

BASS FX

BASS_FX_BPM_BeatCallbackReset

Reset the buffers. Call this function after changing position.

BOOL BASS_FX_BPM_BeatCallbackReset(
    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 Beat callback. Beat 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_BeatDecodeGet, BASS_FX_BPM_BeatCallbackSet, BASS_FX_BPM_BeatSetParameters, BASS_FX_BPM_BeatGetParameters, BASS_FX_BPM_BeatFree