diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-29 21:40:20 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-29 21:40:20 +0000 |
commit | cabb76cce6203d34299136371078bd20b6abe1e3 (patch) | |
tree | 6bf9048a9cdb7fa4acb6ef364447c3d3a31f9343 /libs/ardour | |
parent | 07750ccb324105a010784490266fdc7cbfa9cca3 (diff) |
clean up comments and commented code
git-svn-id: svn://localhost/ardour2/branches/3.0@11110 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/tempo.cc | 27 |
1 files 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<MeterSection*> (*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. */ } |