From 8f3bc6f8099d7fc3bcc7f0dc88434afa0084e35f Mon Sep 17 00:00:00 2001 From: nick_m Date: Fri, 27 May 2016 01:25:47 +1000 Subject: Tempo ramps - rename tempo_at() -> tempo_at_frame().. 3 decimals for the audioclock tempo display. --- gtk2_ardour/automation_controller.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/automation_controller.cc') diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc index b598f44f94..66c051ee19 100644 --- a/gtk2_ardour/automation_controller.cc +++ b/gtk2_ardour/automation_controller.cc @@ -261,7 +261,7 @@ AutomationController::set_freq_beats(double beats) const ARDOUR::ParameterDescriptor& desc = _controllable->desc(); const ARDOUR::Session& session = _controllable->session(); const framepos_t pos = session.transport_frame(); - const ARDOUR::Tempo& tempo = session.tempo_map().tempo_at(pos); + const ARDOUR::Tempo& tempo = session.tempo_map().tempo_at_frame (pos); const double bpm = tempo.beats_per_minute(); const double bps = bpm / 60.0; const double freq = bps / beats; -- cgit v1.2.3