X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fengine_dialog.h;h=8f47f2b5a35d3668cc7c5f4adf0f7754999e13bf;hb=b6c3e5537269e53bb145300e7724e8b89dfb74d6;hp=d5c54d088e121dbbbdd6ae4665d4169bc1ef1dbf;hpb=b5c5b7e4932883407e0e93f3e4f089d0d5009884;p=ardour.git diff --git a/gtk2_ardour/engine_dialog.h b/gtk2_ardour/engine_dialog.h index d5c54d088e..8f47f2b5a3 100644 --- a/gtk2_ardour/engine_dialog.h +++ b/gtk2_ardour/engine_dialog.h @@ -49,6 +49,7 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList { bool set_state (const XMLNode&); void set_desired_sample_rate (uint32_t); + bool try_autostart (); private: Gtk::Notebook notebook; @@ -87,6 +88,7 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList { ArdourButton midi_devices_button; ArdourButton start_stop_button; ArdourButton update_devices_button; + ArdourButton use_buffered_io_button; Gtk::Button connect_disconnect_button; @@ -120,7 +122,8 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList { Gtk::CheckButton aj_button; - uint32_t ignore_changes; + uint32_t ignore_changes; // state save/load + uint32_t ignore_device_changes; // AudioEngine::DeviceListChanged uint32_t _desired_sample_rate; bool started_at_least_once; bool queue_device_changed; @@ -161,6 +164,7 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList { std::string get_driver() const; std::string get_backend() const; std::string get_midi_option () const; + bool get_use_buffered_io () const; std::string get_default_device (const std::string&, const std::vector&); @@ -221,6 +225,7 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList { uint32_t input_channels; uint32_t output_channels; bool active; + bool use_buffered_io; std::string midi_option; std::vector midi_devices; time_t lru; @@ -233,6 +238,7 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList { , input_channels (0) , output_channels (0) , active (false) + , use_buffered_io (false) , lru (0) {} }; @@ -305,6 +311,7 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList { void control_app_button_clicked (); void start_stop_button_clicked (); void update_devices_button_clicked (); + void use_buffered_io_button_clicked (); void use_latency_button_clicked (); void manage_control_app_sensitivity (); int push_state_to_backend (bool start);