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
@ -3098,7 +3098,9 @@ EngineControl::device_list_changed ()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1); // ??
|
PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1); // ??
|
||||||
list_devices ();
|
if (!ARDOUR::AudioEngine::instance()->running()) {
|
||||||
|
list_devices ();
|
||||||
|
}
|
||||||
midi_option_changed();
|
midi_option_changed();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user