summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_streamview.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-03-04 03:58:17 +0000
committerCarl Hetherington <carl@carlh.net>2011-03-04 03:58:17 +0000
commitffebe2c3fe11e0c80a87197191e5011066dd2583 (patch)
treef74e3abbf5c4cf068184c27f446a8df420700f43 /gtk2_ardour/midi_streamview.cc
parent7b155267505af3fedffc7972b08cb784c97b7e74 (diff)
Slight fix to comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@9065 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_streamview.cc')
-rw-r--r--gtk2_ardour/midi_streamview.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk2_ardour/midi_streamview.cc b/gtk2_ardour/midi_streamview.cc
index f3b418fc99..ed60b14256 100644
--- a/gtk2_ardour/midi_streamview.cc
+++ b/gtk2_ardour/midi_streamview.cc
@@ -459,11 +459,10 @@ MidiStreamView::setup_rec_box ()
must also set length_beats to something non-zero, otherwise the frame length
of 1 causes length_beats to be set to some small quantity << 1. Then
when the position is set up below, this length_beats is used to recompute
- length using Tempo::framepos_plus_bbt, which is slightly innacurate for small
- beats values (see comment in Tempo::framepos_plus_bbt) [mostly because
- it converts floating point beats to bars, beats and integer ticks]. The upshot
- of which being that length gets set back to 0, meaning no region view is ever
- seen, meaning no MIDI notes during record (#3820).
+ length using BeatsFramesConverter::to, which is slightly innacurate for small
+ beats values because it converts floating point beats to bars, beats and
+ integer ticks. The upshot of which being that length gets set back to 0,
+ meaning no region view is ever seen, meaning no MIDI notes during record (#3820).
*/
plist.add (ARDOUR::Properties::length_beats, 1);
plist.add (ARDOUR::Properties::name, string());