From 8cff3d0e60811d43f6bddce5486b6d4c007379bd Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 25 Oct 2012 17:07:59 +0000 Subject: LTC Slave: improve fps detection and fix a few minor typos in the related doc git-svn-id: svn://localhost/ardour2/branches/3.0@13338 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/slave.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/ardour/ardour/slave.h') diff --git a/libs/ardour/ardour/slave.h b/libs/ardour/ardour/slave.h index d63004ef07..76d2902d66 100644 --- a/libs/ardour/ardour/slave.h +++ b/libs/ardour/ardour/slave.h @@ -352,6 +352,7 @@ public: void parse_ltc(const jack_nframes_t, const jack_default_audio_sample_t * const, const framecnt_t); void process_ltc(framepos_t const); void init_engine_dll (framepos_t, int32_t); + bool detect_discontinuity(LTCFrameExt *, int, bool); bool detect_ltc_fps(int, bool); void reset(); @@ -362,6 +363,8 @@ public: LTCDecoder * decoder; double frames_per_ltc_frame; Timecode::Time timecode; + LTCFrameExt prev_frame; + bool fps_detected; framecnt_t monotonic_cnt; framecnt_t last_timestamp; -- cgit v1.2.3