mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
use new TransportMaster::speed_and_position() API
This commit is contained in:
parent
c4fcd0c268
commit
5685865eae
1 changed files with 3 additions and 1 deletions
|
|
@ -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<TimecodeTransportMaster> 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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue