diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-31 20:51:13 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-31 20:54:14 -0600 |
commit | 88e84067f29e5afb8a5a165988c9f46a5964a42f (patch) | |
tree | 873b4c3f2451bea1140e1e8f75c8d1d689fbf639 /libs/ardour/ardour | |
parent | 370f7bb30f10bb3e79668edd4d118b15bb3d456c (diff) |
if a locate brings us within a heuristic-specified distance of the current position in a DiskReader, pay attention to loop status
If the last read was not looped, but the new one should be, we need to ignore the heuristic. Ditto for vice-versa.
This isomorphic with the read-reversed case
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/disk_reader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/disk_reader.h b/libs/ardour/ardour/disk_reader.h index b0a6f47607..ffd4e2a875 100644 --- a/libs/ardour/ardour/disk_reader.h +++ b/libs/ardour/ardour/disk_reader.h @@ -190,6 +190,7 @@ private: sampleoffset_t _declick_offs; MidiStateTracker _tracker; boost::optional<bool> _last_read_reversed; + boost::optional<bool> _last_read_loop; static samplecnt_t _chunk_samples; static gint _no_disk_output; |