mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-11 16:06:25 +01:00
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)
This commit is contained in:
parent
883ee9c2a0
commit
1af123465c
1 changed files with 4 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue