BASS FX

BASS_FX_BPM_BeatFree

Frees all resources used by a given handle (decode or callback beat).

BOOL BASS_FX_BPM_BeatFree(
    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
If BASS_FX_FREESOURCE flag is used, this will free the source decoding channel as well. You can't set/get this flag with BASS_ChannelFlags/BASS_ChannelGetInfo.

Error code

BASS_ERROR_HANDLE handle is not valid

See also
BASS_FX_BPM_BeatDecodeGet, BASS_FX_BPM_BeatCallbackSet, BASS_FX_BPM_BeatCallbackReset, BASS_FX_BPM_BeatSetParameters, BASS_FX_BPM_BeatGetParameters