LTC generator - reinit on xrun or graph-reorder
[ardour.git] / libs / ardour / ardour / session.h
index e3376ae45fe2e76c50b3b93498c398b253a38f1c..5ef7d21bdab1829f5b322963c0545f27e45cd5cc 100644 (file)
@@ -850,6 +850,9 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
         boost::shared_ptr<Port> ltc_input_port() const;
         boost::shared_ptr<Port> ltc_output_port() const;
 
+       boost::shared_ptr<IO> ltc_input_io() { return _ltc_input; }
+       boost::shared_ptr<IO> ltc_output_io() { return _ltc_output; }
+
   protected:
        friend class AudioEngine;
        void set_block_size (pframes_t nframes);
@@ -1199,11 +1202,13 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
        double            ltc_enc_cnt;
        framepos_t        ltc_enc_off;
 
+       jack_latency_range_t ltc_out_latency;
+
        void ltc_tx_initialize();
        void ltc_tx_cleanup();
        void ltc_tx_reset();
        void ltc_tx_recalculate_position();
-       int  ltc_tx_send_time_code_for_cycle (framepos_t, framepos_t, double, double, pframes_t nframes);
+       void ltc_tx_send_time_code_for_cycle (framepos_t, framepos_t, double, double, pframes_t nframes);
 #endif
 
        void reset_record_status ();