mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 22:56:32 +01:00
triggerbox: do absolutely nothing if transport is moving backwards
This commit is contained in:
parent
dd5003eb1e
commit
bedb94e534
1 changed files with 5 additions and 0 deletions
|
|
@ -3745,6 +3745,11 @@ TriggerBox::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
|
|||
return;
|
||||
}
|
||||
|
||||
if (speed < 0.) {
|
||||
/* do absolutely nothing when in reverse playback */
|
||||
return;
|
||||
}
|
||||
|
||||
/* STEP TWO: if latency compensation tells us that we haven't really
|
||||
* started yet, do nothing, because we can't make sense of a negative
|
||||
* start sample time w.r.t the tempo map.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue