diff options
author | Robin Gareus <robin@gareus.org> | 2012-10-25 17:07:59 +0000 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2012-10-25 17:07:59 +0000 |
commit | 8cff3d0e60811d43f6bddce5486b6d4c007379bd (patch) | |
tree | 378548affacbca487980fb49d25dfbb1482a542c /libs/ardour/ardour/slave.h | |
parent | acb795980b5cc5bd1d52ccabaab64e4f135e8888 (diff) |
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
Diffstat (limited to 'libs/ardour/ardour/slave.h')
-rw-r--r-- | libs/ardour/ardour/slave.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |