summaryrefslogtreecommitdiff
path: root/libs/ardour/test/framepos_minus_beats_test.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2015-12-22 01:21:54 +1100
committernick_m <mainsbridge@gmail.com>2016-05-27 23:38:09 +1000
commit7898435d3f94355fa0996dc9f85b3bc1ef173585 (patch)
tree77dd39b6122330328b15046a8ae45e4fdaeda483 /libs/ardour/test/framepos_minus_beats_test.cc
parent9eeccf0c17094708996c3c491f265877b04199fe (diff)
Tempo ramps - define_one_bar() delivers constant tempo.
- also some renaming and code review
Diffstat (limited to 'libs/ardour/test/framepos_minus_beats_test.cc')
-rw-r--r--libs/ardour/test/framepos_minus_beats_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/test/framepos_minus_beats_test.cc b/libs/ardour/test/framepos_minus_beats_test.cc
index 7b6941e507..6f1bba53b2 100644
--- a/libs/ardour/test/framepos_minus_beats_test.cc
+++ b/libs/ardour/test/framepos_minus_beats_test.cc
@@ -23,7 +23,7 @@ FrameposMinusBeatsTest::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);
/* 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, 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 */
@@ -115,9 +115,9 @@ FrameposMinusBeatsTest::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));