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_minus_beats_test.cc | |
parent | af07762f98aac7a856326dbcdbc69ae2517c2a96 (diff) |
Tempo ramps - get tests to comile again.
Diffstat (limited to 'libs/ardour/test/framepos_minus_beats_test.cc')
-rw-r--r-- | libs/ardour/test/framepos_minus_beats_test.cc | 10 |
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 12f020e2d7..7b6941e507 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)); + map.add_tempo (tempo, BBT_Time (1, 1, 0), TempoSection::TempoSectionType::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)); + 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 */ @@ -115,9 +115,9 @@ FrameposMinusBeatsTest::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)); |