13
0

Relax assertion to allow rolling backwards into 0.

This commit is contained in:
Robin Gareus 2017-10-31 19:54:08 +01:00
parent 00a4ad712c
commit 8cf323c15d

View File

@ -379,7 +379,7 @@ Route::process_output_buffers (BufferSet& bufs,
*
* playback_latency() is guarnteed to be <= _signal_latency + _output->latency ()
*/
assert (!_disk_reader || !run_disk_reader || start_sample >= 0);
assert (!_disk_reader || !run_disk_reader || start_sample >= 0 || speed < 0);
/* however the disk-writer may need to pick up output from other tracks
* during pre-roll (in particular if this route has latent effects after the disk).