mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 14:45:43 +01:00
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:
parent
217ef4d365
commit
2d87af1988
1 changed files with 3 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue