13
0

LTC generator checks itself if to send LTC or not.

git-svn-id: svn://localhost/ardour2/branches/3.0@13348 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Robin Gareus 2012-10-26 03:11:16 +00:00
parent c8d9895c68
commit 2bf3cf2f8c

View File

@ -117,9 +117,7 @@ Session::no_roll (pframes_t nframes)
}
#ifdef HAVE_LTC
if (!_engine.freewheeling()) {
ltc_tx_send_time_code_for_cycle (_transport_frame, end_frame, _target_transport_speed, _transport_speed, nframes);
}
ltc_tx_send_time_code_for_cycle (_transport_frame, end_frame, _target_transport_speed, _transport_speed, nframes);
#endif
if (_process_graph) {
@ -820,9 +818,7 @@ Session::process_without_events (pframes_t nframes)
}
#ifdef HAVE_LTC
if (!_exporting) {
ltc_tx_send_time_code_for_cycle (_transport_frame, _transport_frame + frames_moved, _target_transport_speed, _transport_speed, nframes);
}
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 ();