X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fengine_dialog.h;h=40384888f46efc0ac1e7b4aa91d3b7927175202c;hb=d7deaa21bb78222e25b820c9583942a47dbc8fac;hp=c9851c89cc9e52984281c6c14f8e447fd4f2ecfd;hpb=a29a10c02ad52e69584e3a5d1a332e83a72dedc0;p=ardour.git diff --git a/gtk2_ardour/engine_dialog.h b/gtk2_ardour/engine_dialog.h index c9851c89cc..40384888f4 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__ @@ -34,9 +53,9 @@ class EngineControl : public Gtk::VBox { 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; @@ -49,7 +68,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 +85,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 +94,7 @@ class EngineControl : public Gtk::VBox { Gtk::HBox options_hbox; Gtk::HBox device_hbox; Gtk::Notebook notebook; - + bool _used; void realtime_changed (); @@ -83,7 +103,7 @@ class EngineControl : public Gtk::VBox { std::map > devices; std::vector backend_devs; - void enumerate_devices (); + void enumerate_devices (const std::string& driver); #ifdef __APPLE__ std::vector enumerate_coreaudio_devices (); @@ -94,7 +114,7 @@ class EngineControl : public Gtk::VBox { std::vector enumerate_freebob_devices (); std::vector enumerate_ffado_devices (); std::vector enumerate_dummy_devices (); -#endif +#endif void redisplay_latency (); uint32_t get_rate();