summaryrefslogtreecommitdiff
path: root/libs/ardour/ticker.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-05-27 01:25:47 +1000
committernick_m <mainsbridge@gmail.com>2016-05-27 23:38:17 +1000
commit8f3bc6f8099d7fc3bcc7f0dc88434afa0084e35f (patch)
tree66422009b382faf1b5b6c49eda58ab4c64f35460 /libs/ardour/ticker.cc
parent250c88c038e8c7bf6449657463acc0403e01bcad (diff)
Tempo ramps - rename tempo_at() -> tempo_at_frame().. 3 decimals for the audioclock tempo display.
Diffstat (limited to 'libs/ardour/ticker.cc')
-rw-r--r--libs/ardour/ticker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ticker.cc b/libs/ardour/ticker.cc
index 6236044499..58a1c4573d 100644
--- a/libs/ardour/ticker.cc
+++ b/libs/ardour/ticker.cc
@@ -307,7 +307,7 @@ MidiClockTicker::tick (const framepos_t& /* transport_frame */, pframes_t nframe
double
MidiClockTicker::one_ppqn_in_frames (framepos_t transport_position)
{
- const Tempo& current_tempo = _session->tempo_map().tempo_at (transport_position);
+ const Tempo& current_tempo = _session->tempo_map().tempo_at_frame (transport_position);
double frames_per_beat = _session->tempo_map().frames_per_beat_at (transport_position, _session->nominal_frame_rate());
double quarter_notes_per_beat = 4.0 / current_tempo.note_type();