diff options
author | nick_m <mainsbridge@gmail.com> | 2015-12-21 07:11:20 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-05-27 23:38:09 +1000 |
commit | 2d649ceac1633b3ea7d770a13944c7b6a1161e9b (patch) | |
tree | 52dfd5b41052ff96f638204955f7dd85e39a2554 /libs/ardour/test/framepos_plus_beats_test.cc | |
parent | af07762f98aac7a856326dbcdbc69ae2517c2a96 (diff) |
Tempo ramps - get tests to comile again.
Diffstat (limited to 'libs/ardour/test/framepos_plus_beats_test.cc')
-rw-r--r-- | libs/ardour/test/framepos_plus_beats_test.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/test/framepos_plus_beats_test.cc b/libs/ardour/test/framepos_plus_beats_test.cc index 69fd9a597d..442c9b3d56 100644 --- a/libs/ardour/test/framepos_plus_beats_test.cc +++ b/libs/ardour/test/framepos_plus_beats_test.cc @@ -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)); + map.add_tempo (tempo, BBT_Time (1, 1, 0), TempoSection::TempoSectionType::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)); + map.add_tempo (tempoA, BBT_Time (1, 1, 0), TempoSection::TempoSectionType::Constant); Tempo tempoB (240); - map.add_tempo (tempoB, BBT_Time (4, 1, 0)); + map.add_tempo (tempoB, BBT_Time (4, 1, 0), TempoSection::TempoSectionType::Constant); /* Now some tests */ @@ -114,9 +114,9 @@ FrameposPlusBeatsTest::doubleTempoWithMeterTest () */ Tempo tempoA (120); - map.add_tempo (tempoA, BBT_Time (1, 1, 0)); + map.add_tempo (tempoA, BBT_Time (1, 1, 0), TempoSection::TempoSectionType::Constant); Tempo tempoB (240); - map.add_tempo (tempoB, BBT_Time (4, 1, 0)); + map.add_tempo (tempoB, BBT_Time (4, 1, 0), TempoSection::TempoSectionType::Constant); Meter meterB (3, 4); map.add_meter (meterB, BBT_Time (4, 1, 0)); |