public void Dispose() { if (instance != null) { Bass.BASS_Free(); instance = null; } }
public static BassLib BASSInitialize(BASSInit options, IntPtr hwind) { if (instance == null) { instance = new BassLib(options, hwind); } return(instance); }
public BPMViewModel(IntPtr hwnd) { LoopSync = new SYNCPROC(ProcSync); bass = BPMLib.BassLib.BASSInitialize(BASSInit.BASS_DEVICE_DEFAULT, hwnd); }