diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-12-16 16:13:27 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-12-16 16:13:39 -0700 |
commit | cd78a168b2a9bf0ea74f5a6b6dfd51beed4c2df1 (patch) | |
tree | 9d7aa5ec302accf6396e6a4abb3e3dd3da49b923 /libs/ardour/session_state.cc | |
parent | cafd1b792c26397202f77a25e7c3085cebe065bc (diff) |
reinstate missing latency initialization code
Removed (mistakenly) during work on transportFSM
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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)); |