diff options
author | Robin Gareus <robin@gareus.org> | 2019-03-06 01:01:03 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-03-06 01:04:29 +0100 |
commit | 1af123465c2906646ebd956741f267231174d29b (patch) | |
tree | 0b90461ece71ea24b272cd277dc86ede79425231 /libs/ardour/session.cc | |
parent | 883ee9c2a06f773a50c2c2f91e7572167505ae5b (diff) |
Tweak session load
Listen positions are already correctly set when the route state
is restored. The Route directly uses the Config.
This skips duplicate calls to re-configure all processors on all Routes
during RCConfiguration::map_parameters() on session-load, twice
(pfl-position, listen-position)
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 52c4e580ba..ca89543834 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -6437,6 +6437,10 @@ Session::update_route_record_state () void Session::listen_position_changed () { + if (loading ()) { + /* skip duing session restore (already taken care of) */ + return; + } ProcessorChangeBlocker pcb (this); boost::shared_ptr<RouteList> r = routes.reader (); for (RouteList::iterator i = r->begin(); i != r->end(); ++i) { |