run bundle fixup code for all platforms
[ardour.git] / gtk2_ardour / engine_dialog.h
index d9741e3765f0116e418ae1d1e9f2a56c608f2c5e..56a0722118a67b7ee50a8b9f97ab1f860c5875c9 100644 (file)
@@ -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__
 
@@ -36,7 +55,9 @@ class EngineControl : public Gtk::VBox {
        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;
 
@@ -49,7 +70,7 @@ class EngineControl : public Gtk::VBox {
        Gtk::CheckButton hw_monitor_button;
        Gtk::CheckButton hw_meter_button;
        Gtk::CheckButton verbose_output_button;
-       
+
        Gtk::Button start_button;
        Gtk::Button stop_button;
        Gtk::HButtonBox button_box;
@@ -66,6 +87,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;
@@ -74,7 +96,7 @@ class EngineControl : public Gtk::VBox {
        Gtk::HBox options_hbox;
        Gtk::HBox device_hbox;
        Gtk::Notebook notebook;
-       
+
        bool _used;
 
        void realtime_changed ();
@@ -83,7 +105,7 @@ class EngineControl : public Gtk::VBox {
 
        std::map<std::string,std::vector<std::string> > devices;
        std::vector<std::string> backend_devs;
-       void enumerate_devices (const string& driver);
+       void enumerate_devices (const std::string& driver);
 
 #ifdef __APPLE__
        std::vector<std::string> enumerate_coreaudio_devices ();
@@ -94,7 +116,7 @@ class EngineControl : public Gtk::VBox {
        std::vector<std::string> enumerate_freebob_devices ();
        std::vector<std::string> enumerate_ffado_devices ();
        std::vector<std::string> enumerate_dummy_devices ();
-#endif 
+#endif
 
        void redisplay_latency ();
        uint32_t get_rate();