2 #ifndef ardour_tranzport_control_protocol_h
3 #define ardour_tranzport_control_protocol_h
11 #include <glibmm/threads.h>
163 int read (uint8_t *buf,uint32_t timeout_override = 0);
164 int write (uint8_t* cmd, uint32_t timeout_override = 0);
169 void print (
int row,
int col,
const char* text);
205 int lcd_write(uint8_t* cmd, uint32_t timeout_override = 0);
virtual std::string name() const
bool lcd_damage(int row, int col=0, int length=20)
void lcd_fill(uint8_t fill_char)
int set_state(const XMLNode &)
void button_event_mute(bool pressed, bool shifted)
bool screen_invalid[2][20]
void button_event_backlight_release(bool shifted)
void button_event_add_release(bool shifted)
void button_event_out_release(bool shifted)
void enter_big_meter_mode()
int light_set(LightID, bool offon=true)
ARDOUR::gain_t gain_fraction
void button_event_play_release(bool shifted)
char screen_pending[2][20]
void button_event_record_press(bool shifted)
uint32_t current_track_id
void show_current_track()
void button_event_loop_release(bool shifted)
void button_event_in_release(bool shifted)
void button_event_next_release(bool shifted)
void lcd_print(int row, int col, const char *text)
void button_event_undo_press(bool shifted)
void button_event_trackmute_press(bool shifted)
void button_event_punch_press(bool shifted)
bool lcd_isdamaged(int row, int col=0, int length=20)
int load(char *name="default")
void button_event_trackright_release(bool shifted)
static const int VENDORID
int lights_write(uint8_t *cmd, uint32_t timeout_override=0)
void button_event_trackmute_release(bool shifted)
void button_event_trackleft_release(bool shifted)
void button_event_undo_release(bool shifted)
void button_event_stop_press(bool shifted)
void print(int row, int col, const char *text)
int lights_show_recording()
void button_event_stop_release(bool shifted)
void show_smpte(samplepos_t where)
void button_event_fastforward_press(bool shifted)
void button_event_trackright_press(bool shifted)
void set_current_track(ARDOUR::Route *)
int rtpriority_unset(int priority=0)
void button_event_prev_release(bool shifted)
void button_event_trackrec_press(bool shifted)
int write_noretry(uint8_t *cmd, uint32_t timeout_override=0)
WheelShiftMode wheel_shift_mode
static const int READ_ENDPOINT
void light_validate(LightID light)
void button_event_punch_release(bool shifted)
int open_core(struct usb_device *)
static const int PRODUCTID
ARDOUR::gain_t last_track_gain
void button_event_next_press(bool shifted)
void button_event_play_press(bool shifted)
int save(char *name="default")
int rtpriority_set(int priority=52)
void button_event_trackrec_release(bool shifted)
void button_event_tracksolo_release(bool shifted)
void enter_normal_display_mode()
void button_event_rewind_release(bool shifted)
void lcd_print_noretry(int row, int col, const char *text)
void button_event_battery_press(bool shifted)
WheelIncrement wheel_increment
void print_noretry(int row, int col, const char *text)
XMLNode & get_state() const
static const int WRITE_ENDPOINT
TranzportControlProtocol(ARDOUR::Session &)
Glib::Threads::Mutex update_lock
static const int STATUS_ONLINE
void button_event_backlight_press(bool shifted)
void light_invalidate(LightID light)
static const uint8_t WheelDirectionThreshold
void button_event_fastforward_release(bool shifted)
int write(uint8_t *cmd, uint32_t timeout_override=0)
void show_bbt(samplepos_t where)
uint64_t last_wheel_motion
void button_event_battery_release(bool shifted)
void button_event_in_press(bool shifted)
int lcd_write(uint8_t *cmd, uint32_t timeout_override=0)
void enter_recording_mode()
char screen_current[2][20]
void button_event_out_press(bool shifted)
void button_event_tracksolo_press(bool shifted)
void button_event_record_release(bool shifted)
void show_transport_time()
virtual ~TranzportControlProtocol()
void button_event_trackleft_press(bool shifted)
void button_event_loop_press(bool shifted)
void next_wheel_shift_mode()
void button_event_rewind_press(bool shifted)
static void * _monitor_work(void *arg)
void button_event_add_press(bool shifted)
int read(uint8_t *buf, uint32_t timeout_override=0)
void button_event_prev_press(bool shifted)
static const int STATUS_OFFLINE
PBD::PropertyDescriptor< timecnt_t > length
Temporal::samplepos_t samplepos_t