BASS.NET API for the Un4seen BASS Audio LibraryBPMPROGRESSPROC DelegateBASS.NET API for the Un4seen BASS Audio Library
User defined callback function, to get the bpm detection process in percents.

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

public delegate void BPMPROGRESSPROC(
	int channel,
	float percent,
	IntPtr user
)

Parameters

channel
Type: SystemInt32
Channel that the BASS_FX_BPM_DecodeGet(Int32, Double, Double, Int32, BASSFXBpm, BPMPROGRESSPROC, IntPtr) applies to.
percent
Type: SystemSingle
The progress of the process in percent (0%..100%).
user
Type: SystemIntPtr
The user instance data given when BASS_FX_BPM_DecodeGet(Int32, Double, Double, Int32, BASSFXBpm, BPMPROGRESSPROC, IntPtr) was called.
Remarks

NOTE: When you pass an instance of a callback delegate to one of the BASS functions, this delegate object will not be reference counted. This means .NET would not know, that it might still being used by BASS. The Garbage Collector might (re)move the delegate instance, if the variable holding the delegate is not declared as global. So make sure to always keep your delegate instance in a variable which lives as long as BASS needs it, e.g. use a global variable or member.

See Also

Reference