From: Paul Davis Date: Thu, 29 Dec 2011 21:40:20 +0000 (+0000) Subject: clean up comments and commented code X-Git-Tag: 3.0-beta2~91 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=cabb76cce6203d34299136371078bd20b6abe1e3;p=ardour.git clean up comments and commented code git-svn-id: svn://localhost/ardour2/branches/3.0@11110 d708f5d6-7413-0410-9779-e7cbd77b26cf --- 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. */ }