Skip to content

Commit 7d559de

Browse files
fix boolean logic for roll_delay vs. disk_samples_to_consume
1 parent 0a4b9ff commit 7d559de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/ardour/disk_reader.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ DiskReader::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
283283
samplecnt_t roll_delay_offset = 0;
284284

285285
if (speed != 0.0) {
286-
if (_roll_delay > disk_samples_to_consume) {
286+
if (_roll_delay >= disk_samples_to_consume) {
287287
/* still waiting for _roll_delay to end */
288288
_roll_delay -= disk_samples_to_consume;
289289
/* we could set disk_samples_to_consume to zero here, but it

0 commit comments

Comments
 (0)