From 74a4678c04b89a7981bfd884bc45de156c624c39 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 23 Mar 2022 17:36:07 -0600 Subject: [PATCH] temporal: NOOP add explanatory comment --- libs/temporal/tempo.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libs/temporal/tempo.cc b/libs/temporal/tempo.cc index 906e28f796..a54ee9ce15 100644 --- a/libs/temporal/tempo.cc +++ b/libs/temporal/tempo.cc @@ -1744,6 +1744,14 @@ TempoMap::_get_tempo_and_meter (typename const_traits_t::tempo_point_type & tp, can_match = (can_match || arg == typename const_traits_t::time_type ()); + /* Set return tempo and meter points by value using the starting tempo + * and meter passed in. + * + * Then advance through all points, resetting either tempo and/or meter + * until we find a point beyond (or equal to, if @param can_match is + * true) the @param arg (end time) + */ + for (tp = tstart, mp = mstart, p = begini; p != endi; ++p) { typename const_traits_t::tempo_point_type tpp;