Default to device reported systemic latency
This commit is contained in:
parent
a9c75f9760
commit
7eb16db628
|
@ -1972,6 +1972,12 @@ EngineControl::maybe_display_saved_state ()
|
|||
}
|
||||
} else {
|
||||
DEBUG_ECONTROL ("Unable to find saved state for backend and devices");
|
||||
|
||||
boost::shared_ptr<ARDOUR::AudioBackend> backend = ARDOUR::AudioEngine::instance()->current_backend();
|
||||
if (backend) {
|
||||
input_latency.set_value (backend->systemic_hw_input_latency ());
|
||||
output_latency.set_value (backend->systemic_hw_output_latency ());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue