From 8cf323c15df3af076a7e69a4b24c5cb6329477c6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 31 Oct 2017 19:54:08 +0100 Subject: [PATCH] Relax assertion to allow rolling backwards into 0. --- libs/ardour/route.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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).