mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
LTC: don’t flag “no lock” until delta was at zero at least least once.
This commit is contained in:
parent
45aa1e50b7
commit
9863d160fc
1 changed files with 2 additions and 1 deletions
|
|
@ -479,7 +479,8 @@ LTC_Slave::speed_and_position (double& speed, framepos_t& pos)
|
|||
pos = session.transport_frame();
|
||||
return true;
|
||||
} else if (ltc_speed != 0) {
|
||||
if (delayedlocked > 0) delayedlocked--;
|
||||
if (delayedlocked > 1) delayedlocked--;
|
||||
else if (current_delta == 0) delayedlocked = 0;
|
||||
}
|
||||
|
||||
if (abs(now - last_timestamp) > FLYWHEEL_TIMEOUT) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue