Tempo ramps - fix crazy compilable namespace thinko
[ardour.git] / libs / ardour / test / framepos_minus_beats_test.cc
index 588a38c09736869d3f037ff116b7f1c31ede2761..fd06f7de84baa749563666fd03b3cdc16a2beee6 100644 (file)
@@ -23,7 +23,7 @@ FrameposMinusBeatsTest::singleTempoTest ()
        Meter meter (4, 4);
 
        map.add_meter (meter, 0.0, BBT_Time (1, 1, 0));
-       map.add_tempo (tempo, 0.0, TempoSection::Type::Constant);
+       map.add_tempo (tempo, 0.0, TempoSection::Constant);
 
        /* Subtract 1 beat from beat 3 of the first bar */
        framepos_t r = map.framepos_minus_beats (frames_per_beat * 2, Beats(1));
@@ -63,9 +63,9 @@ FrameposMinusBeatsTest::doubleTempoTest ()
        */
 
        Tempo tempoA (120);
-       map.add_tempo (tempoA, 0.0, TempoSection::Type::Constant);
+       map.add_tempo (tempoA, 0.0, TempoSection::Constant);
        Tempo tempoB (240);
-       map.add_tempo (tempoB, 12.0, TempoSection::Type::Constant);
+       map.add_tempo (tempoB, 12.0, TempoSection::Constant);
 
        /* Now some tests */
 
@@ -115,9 +115,9 @@ FrameposMinusBeatsTest::doubleTempoWithMeterTest ()
        */
 
        Tempo tempoA (120);
-       map.add_tempo (tempoA, 0.0, TempoSection::Type::Constant);
+       map.add_tempo (tempoA, 0.0, TempoSection::Constant);
        Tempo tempoB (240);
-       map.add_tempo (tempoB, 12.0, TempoSection::Type::Constant);
+       map.add_tempo (tempoB, 12.0, TempoSection::Constant);
        Meter meterB (3, 4);
        map.add_meter (meterB, 12.0, BBT_Time (4, 1, 0));