From b564f07635ea917ec574361346ab12d7fa733289 Mon Sep 17 00:00:00 2001 From: nick_m Date: Fri, 27 May 2016 02:16:31 +1000 Subject: [PATCH] Tempo ramps - add comment --- libs/ardour/tempo.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index 36ac3a8203..44c59bd6d2 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -2372,6 +2372,13 @@ TempoMap::copy_metrics_and_point (const Metrics& metrics, Metrics& copy, MeterSe return ret; } +/** answers the question "is this a valid beat position for this tempo section?". + * it returns true if the tempo section can be moved to the requested bbt position, + * leaving the tempo map in a solved state. + * @param section the tempo section to be moved + * @param bbt the requested new position for the tempo section + * @return true if the tempo section can be moved to the position, otherwise false. + */ bool TempoMap::can_solve_bbt (TempoSection* ts, const BBT_Time& bbt) {