mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 22:56:32 +01:00
fix per-processor latency to reflect transport direction
This commit is contained in:
parent
8080a14537
commit
d26d8c91a0
1 changed files with 5 additions and 1 deletions
|
|
@ -525,7 +525,11 @@ Route::process_output_buffers (BufferSet& bufs,
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ((*i)->active ()) {
|
if ((*i)->active ()) {
|
||||||
latency += (*i)->effective_latency ();
|
if (speed < 0) {
|
||||||
|
latency -= (*i)->effective_latency ();
|
||||||
|
} else {
|
||||||
|
latency += (*i)->effective_latency ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (speed < 0) {
|
if (speed < 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue