13
0

fix boolean logic PART TWO when trying to avoid complete_refill heuristic

This commit is contained in:
Paul Davis 2020-03-31 21:44:42 -06:00
parent 1c82fc4879
commit 76b6c5ebfd

View File

@ -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.