Tempo ramps - define_one_bar() delivers constant tempo.
[ardour.git] / libs / ardour / test / framepos_plus_beats_test.cc
index 442c9b3d5645874f7b5d4e6163006aef83c12471..425ae843433601365a035e9990d225e3705b4e9e 100644 (file)
@@ -22,7 +22,7 @@ FrameposPlusBeatsTest::singleTempoTest ()
        Meter meter (4, 4);
 
        map.add_meter (meter, BBT_Time (1, 1, 0));
-       map.add_tempo (tempo, BBT_Time (1, 1, 0), TempoSection::TempoSectionType::Constant);
+       map.add_tempo (tempo, BBT_Time (1, 1, 0), TempoSection::Type::Constant);
 
        /* Add 1 beat to beat 3 of the first bar */
        framepos_t r = map.framepos_plus_beats (frames_per_beat * 2, Evoral::Beats(1));
@@ -62,9 +62,9 @@ FrameposPlusBeatsTest::doubleTempoTest ()
        */
 
        Tempo tempoA (120);
-       map.add_tempo (tempoA, BBT_Time (1, 1, 0), TempoSection::TempoSectionType::Constant);
+       map.add_tempo (tempoA, BBT_Time (1, 1, 0), TempoSection::Type::Constant);
        Tempo tempoB (240);
-       map.add_tempo (tempoB, BBT_Time (4, 1, 0), TempoSection::TempoSectionType::Constant);
+       map.add_tempo (tempoB, BBT_Time (4, 1, 0), TempoSection::Type::Constant);
 
        /* Now some tests */
 
@@ -114,9 +114,9 @@ FrameposPlusBeatsTest::doubleTempoWithMeterTest ()
        */
 
        Tempo tempoA (120);
-       map.add_tempo (tempoA, BBT_Time (1, 1, 0), TempoSection::TempoSectionType::Constant);
+       map.add_tempo (tempoA, BBT_Time (1, 1, 0), TempoSection::Type::Constant);
        Tempo tempoB (240);
-       map.add_tempo (tempoB, BBT_Time (4, 1, 0), TempoSection::TempoSectionType::Constant);
+       map.add_tempo (tempoB, BBT_Time (4, 1, 0), TempoSection::Type::Constant);
        Meter meterB (3, 4);
        map.add_meter (meterB, BBT_Time (4, 1, 0));