private:
libusb_device_handle *handle;
+ bool in_use;
ModifierState _modifier_state;
void do_request (Push2Request*);
- int stop ();
- int open ();
- int close ();
+
+ int begin_using_device ();
+ int stop_using_device ();
+ int device_acquire ();
+ void device_release ();
+ int ports_acquire ();
+ void ports_release ();
+ void run_event_loop ();
+ void stop_event_loop ();
void relax () {}
bool midi_input_handler (Glib::IOCondition ioc, MIDI::Port* port);
- sigc::connection periodic_connection;
- bool periodic ();
-
void thread_init ();
PBD::ScopedConnectionList session_connections;
void other_vpot (int, int);
void other_vpot_touch (int, bool);
- /* special Stripables */
+ /* special Stripable */
boost::shared_ptr<ARDOUR::Stripable> master;
- boost::shared_ptr<ARDOUR::Stripable> monitor;
sigc::connection vblank_connection;
bool vblank ();