Fix bad comment.
authornick_m <mainsbridge@gmail.com>
Tue, 28 Jun 2016 18:06:33 +0000 (04:06 +1000)
committernick_m <mainsbridge@gmail.com>
Sat, 9 Jul 2016 16:18:37 +0000 (02:18 +1000)
libs/ardour/midi_region.cc

index 3fd95388cfcdf3d34523a7ab9451ccabb8f2c0db..fbd5d34c67dc61633e89c6e8116c5d4213e57369 100644 (file)
@@ -506,7 +506,7 @@ MidiRegion::trim_to_internal (framepos_t position, framecnt_t length, const int3
 
        PropertyChange what_changed;
 
-       /* beat has not been set exactly by set_position_internal.
+       /* beat has been set exactly by set_position_internal, but the source starts on a frame.
           we have trimmed by frames, so we must ignore _beat and set start beats using frames.
        */
        const double pos_beat = _session.tempo_map().beat_at_frame (position);