#include <pthread.h>
#include <usb.h>
-#include <glibmm/thread.h>
+#include <glibmm/threads.h>
#include "ardour/types.h"
WheelIncrSecond,
WheelIncrMinute
};
-
+
enum DisplayMode {
DisplayNormal,
DisplayRecording,
ARDOUR::gain_t gain_fraction;
- Glib::Mutex update_lock;
+ Glib::Threads::Mutex update_lock;
bool screen_invalid[2][20];
char screen_current[2][20];
framepos_t last_where;
ARDOUR::gain_t last_track_gain;
uint32_t last_meter_fill;
- struct timeval last_wheel_motion;
+ uint64_t last_wheel_motion;
int last_wheel_dir;
Glib::Mutex io_lock;
void screen_invalidate();
int screen_flush();
void screen_clear();
- // bool screen_isuptodate(); // think on this -
+ // bool screen_isuptodate(); // think on this -
- // Commands to write to the lcd
+ // Commands to write to the lcd
int lcd_init();
bool lcd_damage();