Remove unused parameters to AudioRegion::read_at
[ardour.git] / libs / ardour / ardour / audioregion.h
index 8d929827c5b00a3c40ed57af0888c3df8d367f97..b418a2c4093821df0a5ccee7e2e1e5615eda4fca 100644 (file)
@@ -110,15 +110,13 @@ class AudioRegion : public Region
        virtual framecnt_t readable_length() const { return length(); }
 
        virtual framecnt_t read_at (Sample *buf, Sample *mixdown_buf, float *gain_buf,
-                                    framepos_t position,
-                                    framecnt_t cnt,
-                                    uint32_t  chan_n      = 0,
-                                    framecnt_t read_frames = 0,
-                                    framecnt_t skip_frames = 0) const;
-       
+                                   framepos_t position,
+                                   framecnt_t cnt,
+                                   uint32_t   chan_n = 0) const;
+
        virtual framecnt_t master_read_at (Sample *buf, Sample *mixdown_buf, float *gain_buf,
                                           framepos_t position, framecnt_t cnt, uint32_t chan_n=0) const;
-       
+
        virtual framecnt_t read_raw_internal (Sample*, framepos_t, framecnt_t, int channel) const;
 
        XMLNode& state ();
@@ -196,7 +194,7 @@ class AudioRegion : public Region
        PBD::Property<bool>     _fade_out_active;
        /** linear gain to apply to the whole region */
        PBD::Property<gain_t>   _scale_amplitude;
-       
+
        void register_properties ();
        void post_set (const PBD::PropertyChange&);
 
@@ -212,8 +210,6 @@ class AudioRegion : public Region
                             Sample *buf, Sample *mixdown_buffer, float *gain_buffer,
                             framepos_t position, framecnt_t cnt,
                             uint32_t chan_n = 0,
-                            framecnt_t read_frames = 0,
-                            framecnt_t skip_frames = 0,
                             ReadOps readops = ReadOps (~0)) const;
 
        void recompute_at_start ();