Tempo ramps - remove the concept of bars from tempo sections.
[ardour.git] / libs / ardour / test / audio_region_read_test.cc
index dc3127ea2e7f05a9652aa9df97bf48e1cc1ca1b1..c7ae50afd54437fcab4414494fa0b530a222c31d 100644 (file)
@@ -20,7 +20,6 @@
 #include "ardour/region.h"
 #include "ardour/audioregion.h"
 #include "audio_region_read_test.h"
-#include "test_globals.h"
 
 CPPUNIT_TEST_SUITE_REGISTRATION (AudioRegionReadTest);
 
@@ -32,7 +31,7 @@ void
 AudioRegionReadTest::readTest ()
 {
        int const N = 1024;
-       
+
        Sample buf[N];
        Sample mbuf[N];
        float gbuf[N];
@@ -71,7 +70,7 @@ AudioRegionReadTest::readTest ()
        for (int i = 64; i < P; ++i) {
                CPPUNIT_ASSERT_EQUAL (i, int (buf[i]));
        }
-       
+
        /* Offset read: 256 frames from 128 frames into the region, with fades
           (though the fade should not affect it, as it is finished before the read starts)
        */
@@ -79,7 +78,7 @@ AudioRegionReadTest::readTest ()
        for (int i = 0; i < N; ++i) {
                buf[i] = 0;
        }
-       
+
        _ar[0]->read_at (buf, mbuf, gbuf, P + 128, 256, 0);
        check_staircase (buf, 128, 256);
 }