diff options
author | nick_m <mainsbridge@gmail.com> | 2016-06-29 04:06:33 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-07-10 02:18:37 +1000 |
commit | e4a163e2faba353edf38c3170b5239c664c84b65 (patch) | |
tree | 5a79f9833e00fdf7d43236cfc76bfef47abcd40d /libs/ardour/midi_region.cc | |
parent | 6612b730338f77e6272fc2677195a3f81f7e7118 (diff) |
Fix bad comment.
Diffstat (limited to 'libs/ardour/midi_region.cc')
-rw-r--r-- | libs/ardour/midi_region.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |