Prepare for systemic_hw_*_latency API removal

This API is not used by any backend anymore.
This commit is contained in:
Robin Gareus 2023-06-21 23:58:46 +02:00
parent 341cd455d8
commit 92b86d8dd6
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 2 additions and 6 deletions

View File

@ -1961,12 +1961,8 @@ EngineControl::maybe_display_saved_state ()
}
} else {
DEBUG_ECONTROL ("Unable to find saved state for backend and devices");
std::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 ());
}
input_latency.set_value (0);
output_latency.set_value (0);
}
}