BASS.NET API for the Un4seen BASS Audio Library

BassFxBASS_FX_BPM_Free Method

BASS.NET API for the Un4seen BASS Audio Library
Frees all resources used by a given handle.

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

public static bool BASS_FX_BPM_Free(
	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_DecodeGet(Int32, Double, Double, Int32, BASSFXBpm, BPMPROGRESSPROC, IntPtr) or BASS_FX_BPM_CallbackSet(Int32, BPMPROC, Double, Int32, BASSFXBpm, IntPtr). If BASS_FX_FREESOURCE was used, this will also free the underlying decoding channel as well. You can't set/get this flag with BASS_ChannelFlags(Int32, BASSFlag, BASSFlag)/BASS_ChannelGetInfo(Int32, BASS_CHANNELINFO).

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.

See Also