fix some issues with previous commit that were not properly tested because HAVE_LTC...
[ardour.git] / libs / ardour / session_ltc.cc
index c10e62659cc545a17e75a2ce23772512e5dce487..01386880f06d85c88dcefd168438fcdc1f1bb9ff 100644 (file)
@@ -107,7 +107,7 @@ Session::ltc_tx_send_time_code_for_cycle (framepos_t start_frame, framepos_t end
 
        jack_default_audio_sample_t *out;
        pframes_t txf = 0;
-       boost::shared_ptr<Port> ltcport = engine().ltc_output_port();
+       boost::shared_ptr<Port> ltcport = ltc_output_port();
 
        if (!ltc_encoder || !ltc_enc_buf || !ltcport || ! ltcport->jack_port()) return 0;