NO-OP: whitespace
This commit is contained in:
parent
969e941854
commit
c681e9d4d7
@ -6858,6 +6858,7 @@ Session::unknown_processors () const
|
||||
return p;
|
||||
}
|
||||
|
||||
/* this is always called twice, first for playback (true), then for capture */
|
||||
void
|
||||
Session::update_latency (bool playback)
|
||||
{
|
||||
@ -6871,6 +6872,7 @@ Session::update_latency (bool playback)
|
||||
return;
|
||||
}
|
||||
|
||||
/* Note; RouteList is sorted as process-graph */
|
||||
boost::shared_ptr<RouteList> r = routes.reader ();
|
||||
samplecnt_t max_latency = 0;
|
||||
|
||||
@ -6882,8 +6884,8 @@ Session::update_latency (bool playback)
|
||||
}
|
||||
|
||||
/* compute actual latency values for the given direction and store them all in per-port
|
||||
structures. this will also publish the same values (to JACK) so that computation of latency
|
||||
for routes can consistently use public latency values.
|
||||
* structures. this will also publish the same values (to JACK) so that computation of latency
|
||||
* for routes can consistently use public latency values.
|
||||
*/
|
||||
|
||||
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
|
||||
@ -6891,10 +6893,10 @@ Session::update_latency (bool playback)
|
||||
}
|
||||
|
||||
/* because we latency compensate playback, our published playback latencies should
|
||||
be the same for all output ports - all material played back by ardour has
|
||||
the same latency, whether its caused by plugins or by latency compensation. since
|
||||
these may differ from the values computed above, reset all playback port latencies
|
||||
to the same value.
|
||||
* be the same for all output ports - all material played back by ardour has
|
||||
* the same latency, whether its caused by plugins or by latency compensation. since
|
||||
* these may differ from the values computed above, reset all playback port latencies
|
||||
* to the same value.
|
||||
*/
|
||||
|
||||
DEBUG_TRACE (DEBUG::Latency, string_compose ("Set public port latencies to %1\n", max_latency));
|
||||
|
Loading…
Reference in New Issue
Block a user