Ejemplo n.º 1
0
        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);
            }
        }
Ejemplo n.º 2
0
        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);
            }
        }
Ejemplo n.º 3
0
 private static extern void bbd_set_progress_callback(HandleRef handle, BpmDetectorProgressHandler callback);
Ejemplo n.º 4
0
 private static extern void bbd_set_progress_callback(HandleRef handle, BpmDetectorProgressHandler callback);