Reverse parameters to CPPUNIT_ASSERT_EQUAL so its assert
[ardour.git] / libs / ardour / ardour / crossfade.h
index 130508c21a3e45e357c940dc8d0fc39295d1d5ab..20bbcccdf53db2938ca8b73c2ecbd7cd6083a3e2 100644 (file)
@@ -59,7 +59,6 @@ class Crossfade : public ARDOUR::AudioRegion
        /* constructor for "fixed" xfades at each end of an internal overlap */
 
        Crossfade (boost::shared_ptr<ARDOUR::AudioRegion> in, boost::shared_ptr<ARDOUR::AudioRegion> out,
-                  framepos_t position,
                   framecnt_t initial_length,
                   AnchorPoint);
 
@@ -90,9 +89,7 @@ class Crossfade : public ARDOUR::AudioRegion
 
        framecnt_t read_at (Sample *buf, Sample *mixdown_buffer,
                            float *gain_buffer, framepos_t position, framecnt_t cnt,
-                           uint32_t chan_n,
-                           framecnt_t read_frames = 0,
-                           framecnt_t skip_frames = 0) const;
+                           uint32_t chan_n) const;
 
        bool refresh ();
 
@@ -116,10 +113,6 @@ class Crossfade : public ARDOUR::AudioRegion
 
        PBD::Signal1<void,boost::shared_ptr<Region> > Invalidated;
 
-       bool covers (framepos_t frame) const {
-               return _position <= frame && frame < _position + _length;
-       }
-
        OverlapType coverage (framepos_t start, framepos_t end) const;
 
        static void set_buffer_size (framecnt_t);