23 #ifndef __gtk2_ardour_engine_dialog_h__
24 #define __gtk2_ardour_engine_dialog_h__
206 const std::vector<std::string>&);
245 if ((*p)->name == devicename) {
284 typedef std::shared_ptr<StateStruct>
State;
293 const std::string& driver,
294 const std::string& device,
295 const float sample_rate = 0);
297 const std::string& driver,
298 const std::string& input_device,
299 const std::string& output_device,
300 const float sample_rate = 0);
Gtk::TreeModelColumn< std::string > pretty_name
Gtk::TreeModelColumn< std::string > port_name
SignalBlocker(EngineControl &engine_control, const std::string &reason)
Gtk::Label lbl_input_latency
sigc::connection input_latency_connection
State get_saved_state_for_currently_displayed_backend_and_device()
void set_samplerate_popdown_strings()
sigc::connection device_combo_connection
bool set_driver_popdown_strings()
uint32_t get_output_latency() const
std::vector< MidiDeviceSettings > _midi_devices
void show_buffer_duration()
void set_nperiods_popdown_strings()
void refresh_midi_display(std::string focus="")
ChannelNameCols lm_output_channel_cols
Gtk::ComboBoxText buffer_size_combo
void on_response(int)
This is a default handler for the signal signal_response().
ArdourWidgets::ArdourButton start_stop_button
bool set_state(const XMLNode &)
Glib::RefPtr< Gtk::ListStore > lm_output_channel_list
Gtk::Label lbl_audio_system
void connect_disconnect_click()
void manage_control_app_sensitivity()
sigc::connection sample_rate_combo_connection
std::shared_ptr< StateStruct > State
std::vector< float > get_default_sample_rates()
sigc::connection backend_combo_connection
void start_latency_detection()
void control_app_button_clicked()
void disable_latency_tab()
bool on_delete_event(GdkEventAny *)
This is a default handler for the signal signal_delete_event().
std::string get_driver() const
void use_buffered_io_button_clicked()
PBD::ScopedConnectionList stopped_connection
bool set_device_popdown_strings()
Gtk::Table midi_device_table
bool get_use_buffered_io() const
void monitor_model_changed()
std::vector< uint32_t > get_buffer_sizes_for_all_devices()
void output_device_changed()
std::vector< float > get_sample_rates_for_all_devices()
PBD::ScopedConnection running_connection
Gtk::Label unit_samples_txt1
MidiDeviceSettings _measure_midi
void block_changed_signals()
static bool state_sort_cmp(const State &a, const State &b)
Gtk::Button connect_disconnect_button
void latency_back_button_clicked()
void build_no_control_notebook()
void try_autostart_button_clicked()
std::string get_device_name() const
bool _can_set_midi_latencies
std::string bufsize_as_string(uint32_t)
Gtk::Label lbl_output_device
void start_stop_button_clicked()
void sample_rate_changed()
void midi_option_changed()
uint32_t get_nperiods() const
void enable_latency_tab()
Gtk::Expander latency_expander
void connect_changed_signals()
std::string get_backend() const
Gtk::Button midi_back_button
Gtk::Label unit_samples_txt2
MidiDeviceSettings find_midi_device(std::string devicename) const
std::vector< uint32_t > get_default_buffer_sizes()
bool stop_engine(bool for_latency=false)
Gtk::ComboBoxText midi_option_combo
sigc::connection output_device_combo_connection
std::string get_default_device(const std::string &, const std::vector< std::string > &)
Gtk::SpinButton input_latency
uint32_t ignore_device_changes
void update_devices_button_clicked()
Gtk::ComboBoxText output_device_combo
XMLNode & get_state() const
Gtk::Button lm_measure_button
bool set_current_state(const State &state)
sigc::connection output_latency_connection
bool was_running_before_lm
void maybe_display_saved_state()
Gtk::SpinButton output_latency
void configure_midi_devices()
sigc::connection latency_timeout
PBD::ScopedConnection devicelist_connection
Gtk::Button lm_use_button
std::string nperiods_as_string(uint32_t)
bool set_state_for_backend(const std::string &backend)
void input_device_changed()
Gtk::Table settings_table
bool equivalent_states(const State &, const State &)
void midi_latency_adjustment_changed(Gtk::Adjustment *, MidiDeviceSettings, bool)
ArdourWidgets::ArdourButton control_app_button
Gtk::ComboBoxText sample_rate_combo
ArdourWidgets::ArdourButton midi_devices_button
Gtk::Button lm_back_button
uint32_t get_input_latency() const
Gtk::Adjustment input_latency_adjustment
Gtk::Label lbl_input_device
Gtk::Label lbl_output_latency
Gtk::ComboBoxText nperiods_combo
std::string get_input_device_name() const
void config_parameter_changed(std::string const &)
void on_show()
This is a default handler for the signal signal_show().
void set_desired_sample_rate(uint32_t)
sigc::connection driver_combo_connection
Gtk::Adjustment output_latency_adjustment
Gtk::ComboBox lm_output_channel_combo
bool started_at_least_once
void unblock_changed_signals()
Gtk::ComboBox lm_input_channel_combo
bool check_audio_latency_measurement()
void device_list_changed()
ArdourWidgets::ArdourButton try_autostart_button
uint32_t get_buffer_size() const
Gtk::ComboBoxText device_combo
Gtk::Expander monitor_expander
void build_full_control_notebook()
std::list< State > StateList
bool queue_device_changed
State get_matching_state(const std::string &backend, const std::string &driver, const std::string &device, const float sample_rate=0)
void latency_button_clicked()
sigc::connection monitor_model_connection
void update_sensitivity()
void end_latency_detection()
ArdourWidgets::ArdourButton update_devices_button
void on_map()
This is a default handler for the signal signal_map().
State get_matching_state(const std::string &backend, const std::string &driver, const std::string &input_device, const std::string &output_device, const float sample_rate=0)
void buffer_size_changed()
void calibrate_audio_latency()
uint32_t _desired_sample_rate
std::string get_output_device_name() const
sigc::connection input_device_combo_connection
sigc::connection lm_back_button_signal
void use_latency_button_clicked()
int push_state_to_backend(bool start)
void on_switch_page(GtkNotebookPage *, guint page_num)
void set_buffersize_popdown_strings()
ArdourWidgets::ArdourButton lm_button_audio
bool check_midi_latency_measurement()
Gtk::Label lbl_midi_system
void calibrate_midi_latency(MidiDeviceSettings)
std::shared_ptr< MidiDeviceSetting > MidiDeviceSettings
Gtk::Label buffer_size_duration_label
void populate_action_area(int)
Gtk::ComboBoxText driver_combo
Gtk::ComboBoxText monitor_model_combo
bool set_output_device_popdown_strings()
ArdourWidgets::ArdourButton use_buffered_io_button
Gtk::Label lbl_monitor_model
Gtk::Label lbl_buffer_size
Gtk::ComboBoxText input_device_combo
Gtk::CheckButton aj_button
sigc::connection buffer_size_combo_connection
Gtk::Label lm_measure_label
void update_midi_options()
Gtk::Label lbl_sample_rate
void midi_device_enabled_toggled(ArdourWidgets::ArdourButton *, MidiDeviceSettings)
sigc::connection nperiods_combo_connection
Gtk::ComboBoxText backend_combo
sigc::connection midi_option_combo_connection
bool set_input_device_popdown_strings()
Glib::RefPtr< Gtk::ListStore > lm_input_channel_list
ChannelNameCols lm_input_channel_cols
std::string get_midi_option() const
void add(TreeModelColumnBase &column)
struct _GtkNotebookPage GtkNotebookPage
PBD::PropertyDescriptor< timepos_t > start
MidiDeviceSetting(std::string n, bool en=true, uint32_t inl=0, uint32_t oul=0)
std::vector< MidiDeviceSettings > midi_devices
std::string output_device