summaryrefslogtreecommitdiff
path: root/libs/ardour/test/bbt_test.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2015-12-28 05:33:04 +1100
committernick_m <mainsbridge@gmail.com>2016-05-27 23:38:09 +1000
commit5c6e18e6a087823e4a3719177c92238b206e3aeb (patch)
tree25f7faefa65e630e68da70bf4378b825e7c29312 /libs/ardour/test/bbt_test.cc
parent41c8b534b70e220b4d4b940aed8a98d9a57003ab (diff)
Tempo ramps - remove the concept of bars from tempo sections.
- this helps where tempo and meter have a somewhat circular dependency. MetricSection now has a musical position expressed in beats (a double). MeterSection still has a bbt, but it really isn't needed as we have enough information to discover the number of bars at a given beat without it. TempoSection now has a hack to enable loading of legacy sessions, which will ultimately be a lot cleaner than the current code. Removing bars from tempo sections also allows us to place them at arbitrary frames (implemented here).
Diffstat (limited to 'libs/ardour/test/bbt_test.cc')
-rw-r--r--libs/ardour/test/bbt_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/test/bbt_test.cc b/libs/ardour/test/bbt_test.cc
index 416d02ba14..507af574d2 100644
--- a/libs/ardour/test/bbt_test.cc
+++ b/libs/ardour/test/bbt_test.cc
@@ -16,7 +16,7 @@ BBTTest::addTest ()
Tempo tempo(120);
Meter meter(4.0, 4.0);
- map.add_meter (meter, BBT_Time(1, 1, 0));
+ map.add_meter (meter, 0.0, BBT_Time(1, 1, 0));
/* add some good stuff here */
}