From cabb76cce6203d34299136371078bd20b6abe1e3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 29 Dec 2011 21:40:20 +0000 Subject: [PATCH] clean up comments and commented code git-svn-id: svn://localhost/ardour2/branches/3.0@11110 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/tempo.cc | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index 1ec463dda2..d6e33b6b44 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -1626,14 +1626,22 @@ TempoMap::get_points (framepos_t lower, framepos_t upper) const } else if (dynamic_cast (*next_metric)) { - /* we hit a new meter section. bump the - * bar and return to beat 1 + /* we hit a new meter + * section. nothing to do - the + * right thing will happen as + * we move to the next metric + * section down below. */ + + } else { - // bar++; - // beat = 1; - // bar_adjusted = true; - + /* we hit a tempo mark that is + * precisely on beat. nothing + * to do here - the + * right thing will happen as + * we move to the next metric + * section down below. + */ } } else { @@ -1641,13 +1649,8 @@ TempoMap::get_points (framepos_t lower, framepos_t upper) const /* we hit either: - the end of the requested range - - a tempo mark that is precisely on beat - in the first case, we'll exit from - the outer loop soon. - - in the second case, nothing special - is required. + we'll exit from the outer loop soon. */ }