diff options
author | Robin Gareus <robin@gareus.org> | 2017-09-24 00:54:26 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-09-29 05:03:48 +0200 |
commit | d98f87d542e65f56c55035571bcb7b8802288a24 (patch) | |
tree | c9514b4903fd71de7ba44b56de4a4364dfc0f9f3 /libs/ardour/ardour/disk_reader.h | |
parent | bcdb3aec3a3f63d3154e71b631e8fcfd765bf26b (diff) |
No more disk-reader roll-delay
It was not working in sdio/6.0-pre anyway and with upcoming changes to
latency compensation the concept of per disk[stream/reader] will go away.
Diffstat (limited to 'libs/ardour/ardour/disk_reader.h')
-rw-r--r-- | libs/ardour/ardour/disk_reader.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/ardour/ardour/disk_reader.h b/libs/ardour/ardour/disk_reader.h index 8e124a27dd..be336fffad 100644 --- a/libs/ardour/ardour/disk_reader.h +++ b/libs/ardour/ardour/disk_reader.h @@ -52,9 +52,6 @@ class LIBARDOUR_API DiskReader : public DiskIOProcessor int overwrite_existing_buffers (); void set_pending_overwrite (bool yn); - samplecnt_t roll_delay() const { return _roll_delay; } - void set_roll_delay (samplecnt_t); - virtual XMLNode& state (bool full); int set_state (const XMLNode&, int version); @@ -117,13 +114,12 @@ class LIBARDOUR_API DiskReader : public DiskIOProcessor /** The number of samples by which this diskstream's output should be delayed with respect to the transport sample. This is used for latency compensation. */ - samplecnt_t _roll_delay; - samplepos_t overwrite_sample; + samplepos_t overwrite_sample; off_t overwrite_offset; bool _pending_overwrite; bool overwrite_queued; IOChange input_change_pending; - samplepos_t file_sample[DataType::num_types]; + samplepos_t file_sample[DataType::num_types]; int _do_refill_with_alloc (bool partial_fill); |