remove unusued roll_delay member of DiskReader
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 19 Sep 2017 13:45:30 +0000 (09:45 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 19 Sep 2017 15:15:22 +0000 (11:15 -0400)
libs/ardour/ardour/disk_reader.h
libs/ardour/disk_reader.cc

index 8e124a27dd90a9d4663de93d538f5d01a57c9a3d..cab4a335016bc2b67d0bcbbf0246c64fee84e401 100644 (file)
@@ -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<samplepos_t> > 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;
index 6f559b61676e7030e5d8a47d4e9f540a40228aba..254b81e1683c4add32fbe2463bfc8a8338b1403a 100644 (file)
@@ -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)
 {