From e4a163e2faba353edf38c3170b5239c664c84b65 Mon Sep 17 00:00:00 2001 From: nick_m Date: Wed, 29 Jun 2016 04:06:33 +1000 Subject: [PATCH] Fix bad comment. --- libs/ardour/midi_region.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/midi_region.cc b/libs/ardour/midi_region.cc index 3fd95388cf..fbd5d34c67 100644 --- a/libs/ardour/midi_region.cc +++ b/libs/ardour/midi_region.cc @@ -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);