diff --git a/libs/ardour/ardour/disk_reader.h b/libs/ardour/ardour/disk_reader.h index 8e124a27dd..cab4a33501 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); @@ -114,10 +111,6 @@ class LIBARDOUR_API DiskReader : public DiskIOProcessor void playlist_ranges_moved (std::list< Evoral::RangeMove > const &, bool); private: - /** 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; off_t overwrite_offset; bool _pending_overwrite; diff --git a/libs/ardour/disk_reader.cc b/libs/ardour/disk_reader.cc index 6f559b6167..254b81e168 100644 --- a/libs/ardour/disk_reader.cc +++ b/libs/ardour/disk_reader.cc @@ -49,7 +49,6 @@ bool DiskReader::_no_disk_output = false; DiskReader::DiskReader (Session& s, string const & str, DiskIOProcessor::Flag f) : DiskIOProcessor (s, str, f) - , _roll_delay (0) , overwrite_sample (0) , overwrite_offset (0) , _pending_overwrite (false) @@ -126,12 +125,6 @@ DiskReader::set_name (string const & str) return true; } -void -DiskReader::set_roll_delay (ARDOUR::samplecnt_t nframes) -{ - _roll_delay = nframes; -} - XMLNode& DiskReader::state (bool full) {