mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
reset "current" in LTC transport master when necessary
This commit is contained in:
parent
5b12cc9bad
commit
90e5220fa6
1 changed files with 3 additions and 1 deletions
|
|
@ -196,10 +196,12 @@ LTC_TransportMaster::resync_latency()
|
|||
void
|
||||
LTC_TransportMaster::reset (bool with_position)
|
||||
{
|
||||
DEBUG_TRACE (DEBUG::LTC, "LTC reset()\n");
|
||||
DEBUG_TRACE (DEBUG::LTC, string_compose ("LTC reset() with pos ? %1\n", with_position));
|
||||
if (with_position) {
|
||||
current.update (current.position, 0, current.speed);
|
||||
_current_delta = 0;
|
||||
} else {
|
||||
current.reset ();
|
||||
}
|
||||
transport_direction = 0;
|
||||
sync_lock_broken = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue