#include "pbd/signals.h"
#include "ardour_dialog.h"
+#include "ardour_button.h"
class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList {
public:
Gtk::ComboBoxText lm_output_channel_combo;
Gtk::ComboBoxText lm_input_channel_combo;
- Gtk::Label lm_start_stop_label;
- Gtk::ToggleButton lm_measure_button;
+ Gtk::Label lm_measure_label;
+ Gtk::Button lm_measure_button;
Gtk::Button lm_use_button;
+ Gtk::Button lm_back_button;
+ ArdourButton lm_button;
Gtk::Label lm_title;
Gtk::Label lm_results;
Gtk::Table lm_table;
Gtk::VBox lm_vbox;
bool have_lm_results;
+ bool lm_running;
Gtk::Button* cancel_button;
Gtk::Button* ok_button;
uint32_t ignore_changes;
uint32_t _desired_sample_rate;
- bool no_push;
bool started_at_least_once;
void driver_changed ();
void sample_rate_changed ();
void buffer_size_changed ();
void parameter_changed ();
+ void midi_option_changed ();
void setup_midi_tab_for_backend ();
void setup_midi_tab_for_jack ();
std::string get_device_name() const;
std::string get_driver() const;
std::string get_backend() const;
+ std::string get_midi_option () const;
void device_changed ();
void list_devices ();
void update_sensitivity ();
/* latency measurement */
- void latency_button_toggled ();
+ void latency_button_clicked ();
bool check_latency_measurement ();
sigc::connection latency_timeout;
void enable_latency_tab ();
PBD::ScopedConnection stopped_connection;
void connect_disconnect_click ();
+ void calibrate_latency ();
};
#endif /* __gtk2_ardour_engine_dialog_h__ */