From 34c9ac9dd7b1187d9efa2c6894fccba34fe298cd Mon Sep 17 00:00:00 2001 From: nick_m Date: Fri, 27 May 2016 03:22:24 +1000 Subject: Tempo ramps - rename bbt_time() -> bbt_at_frame(), frame_time() -> frame_at_bbt() --- gtk2_ardour/editor_tempodisplay.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/editor_tempodisplay.cc') diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index adf0f72fe3..7af6fef059 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -358,7 +358,7 @@ Editor::mouse_add_new_meter_event (framepos_t frame) if (meter_dialog.get_lock_style() == MusicTime) { map.add_meter (Meter (bpb, note_type), map.beat_at_bbt (requested), requested, 0, MusicTime); } else { - map.add_meter (Meter (bpb, note_type), map.beat_at_bbt (requested), requested, map.frame_time (requested), AudioTime); + map.add_meter (Meter (bpb, note_type), map.beat_at_bbt (requested), requested, map.frame_at_bbt (requested), AudioTime); } _session->add_command(new MementoCommand(map, &before, &map.get_state())); @@ -406,7 +406,7 @@ Editor::edit_meter_section (MeterSection* section) double const note_type = meter_dialog.get_note_type (); Timecode::BBT_Time when; meter_dialog.get_bbt_time (when); - framepos_t const frame = _session->tempo_map().frame_time (when); + framepos_t const frame = _session->tempo_map().frame_at_bbt (when); begin_reversible_command (_("replace meter mark")); XMLNode &before = _session->tempo_map().get_state(); -- cgit v1.2.3