diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-03-03 10:26:48 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-03-03 10:26:48 -0700 |
commit | 564796b6c0ed1f0d8bc901f9e3ed27c885650a94 (patch) | |
tree | 55ed8172c061d284a14734fbe1e577689d8930e5 /libs | |
parent | 920fc665402fda257f6fcc2da7729d4eb5a06190 (diff) |
audioengine skip should trigger full LTC_Slave::reset(), not just feed silence to the decoder
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/ltc_slave.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ltc_slave.cc b/libs/ardour/ltc_slave.cc index 5be4c52c40..3be1f2e03a 100644 --- a/libs/ardour/ltc_slave.cc +++ b/libs/ardour/ltc_slave.cc @@ -578,6 +578,7 @@ LTC_TransportMaster::pre_process (ARDOUR::pframes_t nframes, samplepos_t now, bo unsigned char sound[8192]; memset (sound, 0x80, sizeof(char) * skip); ltc_decoder_write (decoder, sound, skip, now); + reset (false); } else if (skip != 0) { /* this should never happen. it may if monotonic_cnt, now overflow on 64bit */ DEBUG_TRACE (DEBUG::LTC, string_compose("engine skipped %1 samples\n", skip)); |