Skip to content

Commit

Permalink
LTC: don’t flag “no lock” until delta was at zero at least least once.
Browse files Browse the repository at this point in the history
  • Loading branch information
x42 committed Jan 12, 2015
1 parent 45aa1e5 commit 9863d16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/ardour/ltc_slave.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9863d16

Please sign in to comment.