diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-31 21:14:07 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-31 21:14:07 -0600 |
commit | 1c82fc487991d246091e78a11097e1f8dc19602b (patch) | |
tree | 1dd2c0044d534deb99f22dba8a5bbdf11870f16d /libs/ardour | |
parent | 6d0434a3c5d5079f82c569281da14880e4de0be7 (diff) |
fix boolean logic when trying to avoid complete_refill heuristic
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/disk_reader.cc | 4 |
1 files 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. |