Prevent engine dialog from changing devices when the engine is running
This fixes an issue with excessive "sample rate mismatches" warnings via device_changed -> set_in/output_device_name -> set_sample_rate
This commit is contained in:
parent
86d9bcf525
commit
65317ef0e0
|
@ -1537,7 +1537,9 @@ EngineControl::device_changed ()
|
|||
}
|
||||
|
||||
//the device name must be set FIRST so ASIO can populate buffersizes and the control panel button
|
||||
if (backend->use_separate_input_and_output_devices ()) {
|
||||
if (ARDOUR::AudioEngine::instance ()->running ()) {
|
||||
assert (!queue_device_changed);
|
||||
} else if (backend->use_separate_input_and_output_devices ()) {
|
||||
backend->set_input_device_name (device_name_in);
|
||||
backend->set_output_device_name (device_name_out);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user