From 5685865eaed1fb28c45f5536003a355eaf3f1b73 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 25 Sep 2018 17:47:03 -0400 Subject: [PATCH] use new TransportMaster::speed_and_position() API --- gtk2_ardour/transport_masters_dialog.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/transport_masters_dialog.cc b/gtk2_ardour/transport_masters_dialog.cc index 2c6dfbe586..99cef0fcad 100644 --- a/gtk2_ardour/transport_masters_dialog.cc +++ b/gtk2_ardour/transport_masters_dialog.cc @@ -372,6 +372,8 @@ TransportMastersWidget::Row::update (Session* s, samplepos_t now) samplepos_t pos; double speed; + samplepos_t last; + samplepos_t when; stringstream ss; Time t; boost::shared_ptr ttm; @@ -379,7 +381,7 @@ TransportMastersWidget::Row::update (Session* s, samplepos_t now) if (s) { - if (tm->speed_and_position (speed, pos, now)) { + if (tm->speed_and_position (speed, pos, last, when, now)) { sample_to_timecode (pos, t, false, false, 25, false, AudioEngine::instance()->sample_rate(), 100, false, 0);