From 7d559de3d0f1c4af0270d4f63efc9f772b5f042e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 19 Sep 2017 21:39:46 -0400 Subject: [PATCH] fix boolean logic for roll_delay vs. disk_samples_to_consume --- libs/ardour/disk_reader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/disk_reader.cc b/libs/ardour/disk_reader.cc index 8f53cf805d..1e9743a181 100644 --- a/libs/ardour/disk_reader.cc +++ b/libs/ardour/disk_reader.cc @@ -283,7 +283,7 @@ DiskReader::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp samplecnt_t roll_delay_offset = 0; if (speed != 0.0) { - if (_roll_delay > disk_samples_to_consume) { + if (_roll_delay >= disk_samples_to_consume) { /* still waiting for _roll_delay to end */ _roll_delay -= disk_samples_to_consume; /* we could set disk_samples_to_consume to zero here, but it