From 1c82fc487991d246091e78a11097e1f8dc19602b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 31 Mar 2020 21:14:07 -0600 Subject: [PATCH] fix boolean logic when trying to avoid complete_refill heuristic --- libs/ardour/disk_reader.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/disk_reader.cc b/libs/ardour/disk_reader.cc index 287c02af0b..f1ac6e6506 100644 --- a/libs/ardour/disk_reader.cc +++ b/libs/ardour/disk_reader.cc @@ -762,8 +762,8 @@ DiskReader::seek (samplepos_t sample, bool complete_refill) return 0; } - if ((!_last_read_reversed && (_last_read_reversed != read_reversed)) || - (!_last_read_loop && (_last_read_loop != read_loop))) { + if ((!_last_read_reversed || (_last_read_reversed != read_reversed)) || + (!_last_read_loop || (_last_read_loop != read_loop))) { /* We do these things only if we're still reading in the same * direction we did last time.