summaryrefslogtreecommitdiff
path: root/gtk2_ardour/engine_dialog.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-09-11 12:05:51 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-09-11 12:05:51 -0400
commitbede012727ce36ee09d972fc84d8ac2d7fd0e3f1 (patch)
tree57fdce14dfe224a44b59fb9607ef2796473f5702 /gtk2_ardour/engine_dialog.cc
parent7c3535ebf808056f65df50a38c7b2202ca1e27aa (diff)
remove unused members and code from EngineControl dialog (related to different devices for input+output)
Diffstat (limited to 'gtk2_ardour/engine_dialog.cc')
-rw-r--r--gtk2_ardour/engine_dialog.cc24
1 files changed, 0 insertions, 24 deletions
diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc
index 40ce03d778..17ff0f7217 100644
--- a/gtk2_ardour/engine_dialog.cc
+++ b/gtk2_ardour/engine_dialog.cc
@@ -381,13 +381,9 @@ EngineControl::list_devices ()
}
set_popdown_strings (device_combo, available_devices);
- set_popdown_strings (input_device_combo, available_devices);
- set_popdown_strings (output_device_combo, available_devices);
if (!available_devices.empty()) {
device_combo.set_active_text (available_devices.front());
- input_device_combo.set_active_text (available_devices.front());
- output_device_combo.set_active_text (available_devices.front());
}
device_changed ();
@@ -525,26 +521,6 @@ EngineControl::show_buffer_duration ()
buffer_size_duration_label.set_text (buf);
}
-void
-EngineControl::audio_mode_changed ()
-{
- std::string str = audio_mode_combo.get_active_text();
-
- if (str == _("Playback/recording on 1 device")) {
- input_device_combo.set_sensitive (false);
- output_device_combo.set_sensitive (false);
- } else if (str == _("Playback/recording on 2 devices")) {
- input_device_combo.set_sensitive (true);
- output_device_combo.set_sensitive (true);
- } else if (str == _("Playback only")) {
- output_device_combo.set_sensitive (true);
- input_device_combo.set_sensitive (false);
- } else if (str == _("Recording only")) {
- input_device_combo.set_sensitive (true);
- output_device_combo.set_sensitive (false);
- }
-}
-
EngineControl::State*
EngineControl::get_matching_state (const string& backend,
const string& driver,