projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
217ef4d
)
Engine-dialog: skip audio device update when running
author
Robin Gareus
<robin@gareus.org>
Sun, 23 Dec 2018 18:51:17 +0000
(19:51 +0100)
committer
Robin Gareus
<robin@gareus.org>
Sun, 23 Dec 2018 20:58:56 +0000
(21:58 +0100)
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
patch
|
blob
|
history
diff --git
a/gtk2_ardour/engine_dialog.cc
b/gtk2_ardour/engine_dialog.cc
index 1389e815effe1579b3c06e196ce6a0465334a543..b883bc352eff867632dac493e9854334ac4401ec 100644
(file)
--- a/
gtk2_ardour/engine_dialog.cc
+++ b/
gtk2_ardour/engine_dialog.cc
@@
-3098,7
+3098,9
@@
EngineControl::device_list_changed ()
return;
}
PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1); // ??
- list_devices ();
+ if (!ARDOUR::AudioEngine::instance()->running()) {
+ list_devices ();
+ }
midi_option_changed();
}