From 92b86d8dd6b1a3bf1457a3f58cf0e6cb3fc7a052 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 21 Jun 2023 23:58:46 +0200 Subject: [PATCH] Prepare for systemic_hw_*_latency API removal This API is not used by any backend anymore. --- gtk2_ardour/engine_dialog.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc index b4fcdcf698..073022e9a5 100644 --- a/gtk2_ardour/engine_dialog.cc +++ b/gtk2_ardour/engine_dialog.cc @@ -1961,12 +1961,8 @@ EngineControl::maybe_display_saved_state () } } else { DEBUG_ECONTROL ("Unable to find saved state for backend and devices"); - - std::shared_ptr 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); } }