mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-24 14:17:21 +01:00
Run input meters, concurrently with cycle-start
This commit is contained in:
parent
2efb7244fa
commit
f7af89aeff
1 changed files with 2 additions and 0 deletions
|
|
@ -1051,6 +1051,7 @@ PortManager::cycle_start (pframes_t nframes, Session* s)
|
|||
tl.push_back (boost::bind (&Port::cycle_start, p->second, nframes));
|
||||
}
|
||||
}
|
||||
tl.push_back (boost::bind (&PortManager::run_input_meters, this, nframes, s ? s->nominal_sample_rate () : 0));
|
||||
s->rt_tasklist()->process (tl);
|
||||
} else {
|
||||
for (Ports::iterator p = _cycle_ports->begin(); p != _cycle_ports->end(); ++p) {
|
||||
|
|
@ -1058,6 +1059,7 @@ PortManager::cycle_start (pframes_t nframes, Session* s)
|
|||
p->second->cycle_start (nframes);
|
||||
}
|
||||
}
|
||||
run_input_meters (nframes, s ? s->nominal_sample_rate () : 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue