From 4f413678365373cd49c765a40153855128b5eb89 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 29 Sep 2019 01:23:48 +0200 Subject: Add Latency Control Toolbar Widgets --- gtk2_ardour/ardour_ui_dialogs.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk2_ardour/ardour_ui_dialogs.cc') diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc index cee609349c..f56f4c6adc 100644 --- a/gtk2_ardour/ardour_ui_dialogs.cc +++ b/gtk2_ardour/ardour_ui_dialogs.cc @@ -190,6 +190,9 @@ ARDOUR_UI::set_session (Session *s) _session->locations()->removed.connect (_session_connections, MISSING_INVALIDATOR, boost::bind (&ARDOUR_UI::handle_locations_change, this, _1), gui_context()); _session->config.ParameterChanged.connect (_session_connections, MISSING_INVALIDATOR, boost::bind (&ARDOUR_UI::session_parameter_changed, this, _1), gui_context ()); + _session->LatencyUpdated.connect (_session_connections, MISSING_INVALIDATOR, boost::bind (&ARDOUR_UI::session_latency_updated, this), gui_context()); + session_latency_updated (); + /* Clocks are on by default after we are connected to a session, so show that here. */ -- cgit v1.2.3