diff options
Diffstat (limited to 'gtk2_ardour/audio_clock.cc')
-rw-r--r-- | gtk2_ardour/audio_clock.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc index f0ae7c76f4..4e29cc3c8b 100644 --- a/gtk2_ardour/audio_clock.cc +++ b/gtk2_ardour/audio_clock.cc @@ -1916,9 +1916,10 @@ AudioClock::bbt_frame_from_display (framepos_t pos) const if (is_duration) { any.bbt.bars++; any.bbt.beats++; - } - - return _session->convert_to_frames_at (pos, any); + return _session->any_duration_to_frames (pos, any); + } else { + return _session->convert_to_frames (any); + } } |