mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-18 03:15:52 +01:00
reset worst_track_latency to zero before computing it again, so that it can be reduced when latent signal paths get less latent or go away
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10133 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c1e827cb48
commit
aed62d61de
1 changed files with 3 additions and 0 deletions
|
|
@ -4467,6 +4467,9 @@ Session::post_playback_latency ()
|
|||
set_worst_playback_latency ();
|
||||
|
||||
boost::shared_ptr<RouteList> r = routes.reader ();
|
||||
|
||||
_worst_track_latency = 0;
|
||||
|
||||
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
|
||||
if (!(*i)->hidden() && ((*i)->active())) {
|
||||
_worst_track_latency = max (_worst_track_latency, (*i)->update_own_latency ());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue