Frees all resources used by a given handle.
Namespace:
Un4seen.Bass.AddOn.Fx
Assembly:
Bass.Net (in Bass.Net.dll) Version: 2.4.17.2
[DllImportAttribute("bass_fx")]
public static bool BASS_FX_BPM_Free(
int handle
)
<DllImportAttribute("bass_fx">]
Public Shared Function BASS_FX_BPM_Free (
handle As Integer
) As Boolean
Parameters
- handle
- Type: SystemInt32
Stream/music/wma/cd/any other supported add-on format.
Return Value
Type:
BooleanIf 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 CODE | Description |
---|
BASS_ERROR_HANDLE | handle is not valid. |
Reference