X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fengine_dialog.h;h=0d7ce29b469f05071a02d8443a5ec5d4b4856adb;hb=e34470b7bdeefa71c081adbd957829a1c6dbf247;hp=c806e088cca3fc07317175cd927e3364a38c26c8;hpb=bb9cc45cd22af67ac275a5e73accbe14fee664d8;p=ardour.git diff --git a/gtk2_ardour/engine_dialog.h b/gtk2_ardour/engine_dialog.h index c806e088cc..0d7ce29b46 100644 --- a/gtk2_ardour/engine_dialog.h +++ b/gtk2_ardour/engine_dialog.h @@ -1,3 +1,22 @@ +/* + Copyright (C) 2010 Paul Davis + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + #ifndef __gtk2_ardour_engine_dialog_h__ #define __gtk2_ardour_engine_dialog_h__ @@ -20,7 +39,7 @@ class EngineControl : public Gtk::VBox { EngineControl (); ~EngineControl (); - static bool engine_running (); + static bool need_setup (); int setup_engine (); bool was_used() const { return _used; } @@ -30,13 +49,11 @@ class EngineControl : public Gtk::VBox { private: Gtk::Adjustment periods_adjustment; Gtk::SpinButton periods_spinner; - Gtk::Adjustment priority_adjustment; - Gtk::SpinButton priority_spinner; Gtk::Adjustment ports_adjustment; Gtk::SpinButton ports_spinner; - Gtk::SpinButton input_channels; - Gtk::SpinButton output_channels; + Gtk::Adjustment input_latency_adjustment; Gtk::SpinButton input_latency; + Gtk::Adjustment output_latency_adjustment; Gtk::SpinButton output_latency; Gtk::Label latency_label; @@ -66,6 +83,7 @@ class EngineControl : public Gtk::VBox { Gtk::ComboBoxText audio_mode_combo; Gtk::ComboBoxText input_device_combo; Gtk::ComboBoxText output_device_combo; + Gtk::ComboBoxText midi_driver_combo; Gtk::Table basic_packer; Gtk::Table options_packer; @@ -77,7 +95,8 @@ class EngineControl : public Gtk::VBox { bool _used; - void realtime_changed (); + static bool engine_running (); + void driver_changed (); void build_command_line (std::vector&);