BASS.NET API for the Un4seen BASS Audio Library

BassFxBASS_FX_BPM_BeatFree Method

BASS.NET API for the Un4seen BASS Audio Library
Free all resources used by a given handle (decode or callback beat).

Namespace:  Un4seen.Bass.AddOn.Fx
Assembly:  Bass.Net (in Bass.Net.dll) Version:

public static bool BASS_FX_BPM_BeatFree(
	int handle


Type: SystemInt32
Stream/music/wma/cd/any other supported add-on format.

Return Value

Type: Boolean
If successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.

Used together with BASS_FX_BPM_BeatDecodeGet(Int32, Double, Double, BASSFXBpm, BPMBEATPROC, IntPtr) or BASS_FX_BPM_BeatCallbackSet(Int32, BPMBEATPROC, IntPtr).

Note: If the 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(Int32, BASSFlag, BASSFlag) and BASS_ChannelGetInfo(Int32, BASS_CHANNELINFO).

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.

See Also