From cd78a168b2a9bf0ea74f5a6b6dfd51beed4c2df1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 16 Dec 2019 16:13:27 -0700 Subject: reinstate missing latency initialization code Removed (mistakenly) during work on transportFSM --- libs/ardour/session_state.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/ardour/session_state.cc') diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index f61c197a0a..605803d85f 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -365,6 +365,10 @@ Session::post_engine_init () _state_of_the_state = StateOfTheState (_state_of_the_state & ~(CannotSave | Dirty)); + /* update latencies */ + + initialize_latencies (); + _locations->added.connect_same_thread (*this, boost::bind (&Session::location_added, this, _1)); _locations->removed.connect_same_thread (*this, boost::bind (&Session::location_removed, this, _1)); _locations->changed.connect_same_thread (*this, boost::bind (&Session::locations_changed, this)); -- cgit v1.2.3