From c9b7f012e4d6db273efd66d0a80988e0487f8dc3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 13 May 2022 18:59:34 -0600 Subject: [PATCH] temporal: helpful comment for future readers --- libs/temporal/tempo.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/temporal/tempo.cc b/libs/temporal/tempo.cc index 53dbddf3a8..5a55c8861c 100644 --- a/libs/temporal/tempo.cc +++ b/libs/temporal/tempo.cc @@ -1140,6 +1140,7 @@ TempoMap::reset_starting_at (superclock_t sc) DEBUG_TRACE (DEBUG::MapReset, string_compose ("we begin at %1 with metric %2\n", sc, metric)); + /* Setup the metric that is in effect at the starting point */ for (p = _points.begin(); p != _points.end(); ++p) { @@ -1172,6 +1173,10 @@ TempoMap::reset_starting_at (superclock_t sc) } } + /* Now iterate over remaining points and recompute their audio time + * positions. + */ + for ( ; p != _points.end(); ++p) {