public BpmDetector() { try { handle = new HandleRef(this, bbd_new()); progress_cb = new BpmDetectorProgressHandler(OnNativeProgress); bbd_set_progress_callback(handle, progress_cb); finished_cb = new BpmDetectorFinishedHandler(OnNativeFinished); bbd_set_finished_callback(handle, finished_cb); } catch (Exception e) { throw new ApplicationException(Catalog.GetString("Could not create BPM detection driver."), e); } }
public BpmDetector() { try { handle = new HandleRef (this, bbd_new ()); progress_cb = new BpmDetectorProgressHandler (OnNativeProgress); bbd_set_progress_callback (handle, progress_cb); finished_cb = new BpmDetectorFinishedHandler (OnNativeFinished); bbd_set_finished_callback (handle, finished_cb); } catch (Exception e) { throw new ApplicationException (Catalog.GetString ("Could not create BPM detection driver."), e); } }
private static extern void bbd_set_finished_callback(HandleRef handle, BpmDetectorFinishedHandler callback);
private static extern void bbd_set_finished_callback(HandleRef handle, BpmDetectorFinishedHandler callback);