summaryrefslogtreecommitdiff
path: root/libs/ardour/ltc_slave.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-02-04 11:22:04 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2019-02-04 11:22:04 -0700
commita18250905cf1dddcfdd3c450dce547c872e729b5 (patch)
treed74d4df5c637d68ed93b4cb9d1feeb192a67236a /libs/ardour/ltc_slave.cc
parent3a43c6375d14066c437bc9d6df19967671add44a (diff)
fully initialize all LTC transport master members
at least the ones that can be done via initialization statements
Diffstat (limited to 'libs/ardour/ltc_slave.cc')
-rw-r--r--libs/ardour/ltc_slave.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ltc_slave.cc b/libs/ardour/ltc_slave.cc
index 9fe2635446..4598c1295c 100644
--- a/libs/ardour/ltc_slave.cc
+++ b/libs/ardour/ltc_slave.cc
@@ -49,14 +49,19 @@ using namespace Timecode;
LTC_TransportMaster::LTC_TransportMaster (std::string const & name)
: TimecodeTransportMaster (name, LTC)
, did_reset_tc_format (false)
+ , saved_tc_format (timecode_24) // whatever ....
, decoder (0)
, samples_per_ltc_frame (0)
, fps_detected (false)
, monotonic_cnt (0)
, delayedlocked (10)
, ltc_detect_fps_cnt (0)
+ , printed_timecode_warning (false)
, ltc_detect_fps_max (0)
, sync_lock_broken (false)
+ , ltc_timecode (Timecode::timecode_24)
+ , a3e_timecode (Timecode::timecode_24)
+ , samples_per_timecode_frame (0)
{
if ((_port = AudioEngine::instance()->register_input_port (DataType::AUDIO, string_compose ("%1 in", _name))) == 0) {
throw failed_constructor();