diff options
author | nick_m <mainsbridge@gmail.com> | 2016-05-27 00:46:46 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-05-27 23:38:17 +1000 |
commit | 250c88c038e8c7bf6449657463acc0403e01bcad (patch) | |
tree | 78cfe261ce607231af577c941124b976d51bd42e /libs | |
parent | 2d31fa7bb10c7d0dfa7950e35ef61b00390b4546 (diff) |
Tempo ramps - check the curve not the integral.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/tempo.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index c7bc0938be..ca21d32e48 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -1829,8 +1829,8 @@ TempoMap::check_solved (const Metrics& metrics) const return false; } - /* precision check ensures pulses and frames align.*/ - if (t->frame() != prev_t->frame_at_pulse (t->pulse(), _frame_rate)) { + /* precision check ensures tempo and frames align.*/ + if (t->frame() != prev_t->frame_at_tempo (t->pulses_per_minute(), t->pulse(), _frame_rate)) { if (!t->locked_to_meter()) { return false; } |