Update Timecode Generator/Slave alignment
[ardour.git] / libs / ardour / session_midi.cc
index d4bb41b7359fc933efba7cb3d73ec857f188d883..d0e75fbb6eae9e4c4c197e53ac1c8a823caaea32 100644 (file)
@@ -417,7 +417,7 @@ Session::send_full_time_code (samplepos_t const t, MIDI::pframes_t nframes)
 
        LatencyRange mtc_out_latency = {0, 0}; // TODO cache this, update on engine().GraphReordered()
        _midi_ports->mtc_output_port ()->get_connected_latency_range (ltc_out_latency, true);
-       sampleoffset_t mtc_offset = worst_playback_latency() - mtc_out_latency.max;
+       sampleoffset_t mtc_offset = mtc_out_latency.max;
 
        // only if rolling.. ?
        outbound_mtc_timecode_frame += mtc_offset;