X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fsession_process.cc;h=9a4fabeb6489d0f90c97a5e33d40c2a08b405521;hb=fe39866bba9c1d0cbfb89dcb26235b8f953cc5a4;hp=bd5cc664512b823b0fd597e538982bd05f4c4fe9;hpb=2bf3cf2f8cbe5848adf680639b9cbc339a8a9a22;p=ardour.git diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index bd5cc66451..9a4fabeb64 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -116,9 +116,7 @@ Session::no_roll (pframes_t nframes) _click_io->silence (nframes); } -#ifdef HAVE_LTC ltc_tx_send_time_code_for_cycle (_transport_frame, end_frame, _target_transport_speed, _transport_speed, nframes); -#endif if (_process_graph) { DEBUG_TRACE(DEBUG::ProcessThreads,"calling graph/no-roll\n"); @@ -793,9 +791,7 @@ Session::process_without_events (pframes_t nframes) if (!_exporting && _slave) { if (!follow_slave (nframes)) { -#ifdef HAVE_LTC ltc_tx_send_time_code_for_cycle (_transport_frame, _transport_frame, 0, 0 , nframes); -#endif return; } } @@ -817,9 +813,7 @@ Session::process_without_events (pframes_t nframes) send_midi_time_code_for_cycle (_transport_frame, _transport_frame + frames_moved, nframes); } -#ifdef HAVE_LTC ltc_tx_send_time_code_for_cycle (_transport_frame, _transport_frame + frames_moved, _target_transport_speed, _transport_speed, nframes); -#endif framepos_t const stop_limit = compute_stop_limit (); @@ -1179,6 +1173,11 @@ Session::compute_stop_limit () const if (!Config->get_stop_at_session_end ()) { return max_framepos; } + + if (_slave) { + return max_framepos; + } + bool const punching_in = (config.get_punch_in () && _locations->auto_punch_location()); bool const punching_out = (config.get_punch_out () && _locations->auto_punch_location());