summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-05-27 02:16:31 +1000
committernick_m <mainsbridge@gmail.com>2016-05-27 23:38:17 +1000
commitb564f07635ea917ec574361346ab12d7fa733289 (patch)
treefb533fa81c6a6612ddaa3d521e4e1efc2343d879 /libs
parentbaf8f379677d6fea53d665aaff1945ccd896a6fe (diff)
Tempo ramps - add comment
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/tempo.cc7
1 files changed, 7 insertions, 0 deletions
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)
{