diff options
author | nick_m <mainsbridge@gmail.com> | 2016-10-30 23:21:42 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-11-11 03:37:08 +1100 |
commit | 0e867b544b6d1b5f82f46cec7171998b2f2ca3bc (patch) | |
tree | cc9605fbd8ed505aedb3e1d04cfa301a84ad8b33 /libs/ardour/test/tempo_test.h | |
parent | ae63243bf3af8ab4dad8535ac2811df399c9a34a (diff) |
Refactor tempo api, include quarter-note distance in frames method.
- moves frame rounding up to TempoMap, which is needed
in order to calculate pulse distance without frame rounding.
- the time unit for tempo is still minute, but this now also
applies to meter sections. (new audio locked meter sections no
longer require a frame position).
- there is no longer a discontinuity
in the pulse for audio-locked meter/tempi.
- temporarily add debugging output in Region::set_position()
to test for region beat not matching region frame.
Diffstat (limited to 'libs/ardour/test/tempo_test.h')
-rw-r--r-- | libs/ardour/test/tempo_test.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/ardour/test/tempo_test.h b/libs/ardour/test/tempo_test.h index 72e9e4748f..a0d85d9619 100644 --- a/libs/ardour/test/tempo_test.h +++ b/libs/ardour/test/tempo_test.h @@ -5,7 +5,10 @@ class TempoTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE (TempoTest); - CPPUNIT_TEST (recomputeMapTest); + CPPUNIT_TEST (recomputeMapTest48); + CPPUNIT_TEST (recomputeMapTest44); + CPPUNIT_TEST (qnDistanceTestConstant); + CPPUNIT_TEST (qnDistanceTestRamp); CPPUNIT_TEST (rampTest48); CPPUNIT_TEST (rampTest44); CPPUNIT_TEST (tempoAtPulseTest); @@ -16,6 +19,10 @@ public: void tearDown () {} void recomputeMapTest (); + void recomputeMapTest44 (); + void recomputeMapTest48 (); + void qnDistanceTestConstant (); + void qnDistanceTestRamp (); void rampTest48 (); void rampTest44 (); void tempoAtPulseTest(); |