From 8b2f73d5ac73c9f05000aa0204b033f9de0dd3c3 Mon Sep 17 00:00:00 2001 From: nick_m Date: Tue, 24 May 2016 00:03:58 +1000 Subject: Tempo ramps - rework tempo drags, improve comments. --- 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 9fdae28b30..82906137c7 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -426,10 +426,10 @@ Editor::edit_tempo_section (TempoSection* section) XMLNode &before = _session->tempo_map().get_state(); if (tempo_dialog.get_lock_style() == AudioTime) { - framepos_t const f = _session->tempo_map().predict_tempo (section, when).second; + framepos_t const f = _session->tempo_map().predict_tempo_position (section, when).second; _session->tempo_map().replace_tempo (*section, Tempo (bpm, nt), 0.0, f, tempo_dialog.get_tempo_type(), AudioTime); } else { - double const p = _session->tempo_map().predict_tempo (section, when).first; + double const p = _session->tempo_map().predict_tempo_position (section, when).first; _session->tempo_map().replace_tempo (*section, Tempo (bpm, nt), p, 0, tempo_dialog.get_tempo_type(), MusicTime); } -- cgit v1.2.3