diff options
Diffstat (limited to 'libs/ardour/ticker.cc')
-rw-r--r-- | libs/ardour/ticker.cc | 2 |
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(); |