add virtual Delivery::pan_outs() so that internal sends correctly configure their...
[ardour.git] / libs / ardour / session_midi.cc
index ae6d3830929633a01d1e5842e5627eb816c4f0d1..e5f4b9cd6e43ff25c52413e644fd4d6357d58463 100644 (file)
@@ -332,10 +332,10 @@ Session::mmc_record_enable (MIDI::MachineControl &mmc, size_t trk, bool enabled)
 
        RouteList::iterator i;
        boost::shared_ptr<RouteList> r = routes.reader();
-       
+
        for (i = r->begin(); i != r->end(); ++i) {
                AudioTrack *at;
-               
+
                if ((at = dynamic_cast<AudioTrack*>((*i).get())) != 0) {
                        if (trk == at->remote_control_id()) {
                                at->set_record_enabled (enabled, &mmc);
@@ -379,7 +379,7 @@ Session::send_full_time_code (framepos_t const t)
        }
 
        // Compensate for audio latency
-       outbound_mtc_timecode_frame += _worst_output_latency;
+       outbound_mtc_timecode_frame += worst_playback_latency();
        next_quarter_frame_to_send = 0;
 
        // Sync slave to the same Timecode time as we are on