#include <usb.h>
#endif
-#include <glibmm/thread.h>
-#include <ardour/types.h>
+#include <glibmm/threads.h>
+#include "ardour/types.h"
-#include <control_protocol/control_protocol.h>
+#include "control_protocol/control_protocol.h"
class TranzportControlProtocol : public ARDOUR::ControlProtocol
{
BlingEnter,
BlingExit
};
-
+
pthread_t thread;
#if HAVE_TRANZPORT_KERNEL_DRIVER
int udev;
usb_dev_handle* udev;
#endif
-#if TRANZPORT_THREADS
- pthread_t thread_read;
-#endif
int last_read_error;
uint32_t buttonmask;
uint32_t timeout;
uint32_t inflight;
uint32_t current_track_id;
-#if TRANZPORT_THREADS
- pthread_t thread_write;
-#endif
int last_write_error;
uint8_t _datawheel;
uint8_t _device_status;
ARDOUR::gain_t gain_fraction;
- Glib::Mutex update_lock;
+ Glib::Threads::Mutex update_lock;
std::bitset<ROWS*COLUMNS> screen_invalid;
char screen_current[ROWS][COLUMNS];
uint32_t last_mins;
uint32_t last_secs;
uint32_t last_frames;
- nframes_t last_where;
+ framepos_t last_where;
ARDOUR::gain_t last_track_gain;
uint32_t last_meter_fill;
struct timeval last_wheel_motion;
void show_current_track ();
void show_track_gain ();
void show_transport_time ();
- void show_bbt (nframes_t where);
- void show_timecode (nframes_t where);
+ void show_bbt (framepos_t where);
+ void show_timecode (framepos_t where);
void show_wheel_mode ();
void show_gain ();
void show_pan ();