Tempo ramps - rename bbt_time() -> bbt_at_frame(), frame_time() -> frame_at_bbt()

This commit is contained in:
nick_m 2016-05-27 03:22:24 +10:00
parent b564f07635
commit 34c9ac9dd7
14 changed files with 62 additions and 52 deletions

View file

@ -764,9 +764,7 @@ MidiListEditor::redisplay_model ()
row[columns.note] = (*i)->note();
row[columns.velocity] = (*i)->velocity();
Timecode::BBT_Time bbt;
_session->tempo_map().bbt_time (conv.to ((*i)->time()), bbt);
Timecode::BBT_Time bbt (_session->tempo_map().bbt_at_frame (conv.to ((*i)->time())));
ss.str ("");
ss << bbt;