summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_tempodisplay.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-04-02 05:41:16 +1100
committernick_m <mainsbridge@gmail.com>2016-05-27 23:38:13 +1000
commit3d07cd79e17f1bdda370f54c9ecece559af4d5f9 (patch)
tree1b32dee23689db6c1657816da45c540cc1d58698 /gtk2_ardour/editor_tempodisplay.cc
parent89f022cb53cc1b983b1a9a0249a0e371a68055c0 (diff)
Tempo ramps - api change, remove some code.
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r--gtk2_ardour/editor_tempodisplay.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc
index b6db6280e4..3931e0bf09 100644
--- a/gtk2_ardour/editor_tempodisplay.cc
+++ b/gtk2_ardour/editor_tempodisplay.cc
@@ -378,11 +378,11 @@ Editor::edit_tempo_section (TempoSection* section)
if (tempo_dialog.get_lock_style() == MusicTime) {
section->set_position_lock_style (MusicTime);
- framepos_t const f = _session->tempo_map().predict_tempo_frame (section, Tempo (bpm, nt), when);
- double const p = _session->tempo_map().predict_tempo_pulse (section, Tempo (bpm, nt), f);
+ framepos_t const f = _session->tempo_map().predict_tempo_frame (section, when);
+ double const p = _session->tempo_map().predict_tempo_pulse (section, f);
_session->tempo_map().replace_tempo (*section, Tempo (bpm, nt), p, tempo_dialog.get_tempo_type());
} else {
- framepos_t const f = _session->tempo_map().predict_tempo_frame (section, Tempo (bpm, nt), when);
+ framepos_t const f = _session->tempo_map().predict_tempo_frame (section, when);
_session->tempo_map().replace_tempo (*section, Tempo (bpm, nt), f, tempo_dialog.get_tempo_type());
}