diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-06 16:39:40 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-06 16:39:40 +0000 |
commit | 355183f1abea75d8fab0926cd7e7130796574cb0 (patch) | |
tree | 78cc092b820fda137e752529f2d45c794c375313 /gtk2_ardour/midi_list_editor.cc | |
parent | bdb15f942250ad3e8a42c6bef927374eedb0299f (diff) |
partially revert some of the recent work on tempo to reflect new understanding of the problem. behaviour is now believed to be totally correct but awaiting a bit more testing
git-svn-id: svn://localhost/ardour2/branches/3.0@11171 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_list_editor.cc')
-rw-r--r-- | gtk2_ardour/midi_list_editor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_list_editor.cc b/gtk2_ardour/midi_list_editor.cc index 5b42070e65..879b1a9f2f 100644 --- a/gtk2_ardour/midi_list_editor.cc +++ b/gtk2_ardour/midi_list_editor.cc @@ -221,7 +221,7 @@ MidiListEditor::redisplay_model () bbt.bars = 0; dur = (*i)->end_time() - (*i)->time(); bbt.beats = floor (dur); - bbt.ticks = (uint32_t) lrint (fmod (dur, 1.0) * Timecode::BBT_Time::ticks_per_bar_division); + bbt.ticks = (uint32_t) lrint (fmod (dur, 1.0) * Timecode::BBT_Time::ticks_per_beat); _session->tempo_map().bbt_duration_at (region->position(), bbt, 0); |