From 2d87af198868aa9f41338569947d95f6f0185e6e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 23 Dec 2018 19:51:17 +0100 Subject: [PATCH] Engine-dialog: skip audio device update when running Only update MIDI devices list, which can be dynamic. Audio devices which are in-use can't be updated, and the GUI may no longer show the current device (since it is in use). --- gtk2_ardour/engine_dialog.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc index 1389e815ef..b883bc352e 100644 --- a/gtk2_ardour/engine_dialog.cc +++ b/gtk2_ardour/engine_dialog.cc @@ -3098,7 +3098,9 @@ EngineControl::device_list_changed () return; } PBD::Unwinder protect_ignore_changes (ignore_changes, ignore_changes + 1); // ?? - list_devices (); + if (!ARDOUR::AudioEngine::instance()->running()) { + list_devices (); + } midi_option_changed(); }