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).
This commit is contained in:
Robin Gareus 2018-12-23 19:51:17 +01:00
parent 217ef4d365
commit 2d87af1988
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 3 additions and 1 deletions

View File

@ -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();
}