diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-31 21:44:42 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-31 21:44:42 -0600 |
commit | 76b6c5ebfdf0bc0e7524685f94cf7bffb0f3988b (patch) | |
tree | 77aa7dfca8669b89571d41ac3974a81ede5dc44e /libs/ardour/disk_reader.cc | |
parent | 1c82fc487991d246091e78a11097e1f8dc19602b (diff) |
fix boolean logic PART TWO when trying to avoid complete_refill heuristic
Diffstat (limited to 'libs/ardour/disk_reader.cc')
-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 f1ac6e6506..3acd546c07 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. |