triggerbox: must run when speed is zero

We only want to not run triggerbox during latency pre-roll
This commit is contained in:
Paul Davis 2022-08-09 09:29:33 -06:00
parent 6ce804b4c9
commit dd5003eb1e

View File

@ -546,7 +546,7 @@ Route::process_output_buffers (BufferSet& bufs,
* running it. * running it.
*/ */
if (run_disk_reader || ((*i) != _triggerbox)) { if (run_disk_reader || ((*i) != _triggerbox) || speed == 0) {
if (speed < 0) { if (speed < 0) {
(*i)->run (bufs, start_sample + latency, end_sample + latency, pspeed, nframes, *i != _processors.back()); (*i)->run (bufs, start_sample + latency, end_sample + latency, pspeed, nframes, *i != _processors.back());
} else { } else {