summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-10-31 19:54:08 +0100
committerRobin Gareus <robin@gareus.org>2017-10-31 19:54:08 +0100
commit8cf323c15df3af076a7e69a4b24c5cb6329477c6 (patch)
treeb455dd7bc06ba5b9d2c7cff765878c8b778624c3 /libs/ardour/route.cc
parent00a4ad712c2d5ac73f04b0f43906590b24a22fb6 (diff)
Relax assertion to allow rolling backwards into 0.
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 6b1a73c088..2ebdb95aa7 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -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).