clean up comments and commented code
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 29 Dec 2011 21:40:20 +0000 (21:40 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 29 Dec 2011 21:40:20 +0000 (21:40 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11110 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/tempo.cc

index 1ec463dda2dfee194fc3eca708589e310bb1f1e6..d6e33b6b44834a6ec0718046bcc3ed16fde26ff0 100644 (file)
@@ -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.
                                        */
                                }