fix LTC generator latency compensation.
This commit is contained in:
@@ -248,9 +248,9 @@ Session::ltc_tx_send_time_code_for_cycle (framepos_t start_frame, framepos_t end
|
|||||||
framepos_t cycle_start_frame;
|
framepos_t cycle_start_frame;
|
||||||
|
|
||||||
if (current_speed < 0) {
|
if (current_speed < 0) {
|
||||||
cycle_start_frame = (start_frame - ltc_out_latency.max);
|
|
||||||
} else if (current_speed > 0) {
|
|
||||||
cycle_start_frame = (start_frame + ltc_out_latency.max);
|
cycle_start_frame = (start_frame + ltc_out_latency.max);
|
||||||
|
} else if (current_speed > 0) {
|
||||||
|
cycle_start_frame = (start_frame - ltc_out_latency.max);
|
||||||
} else {
|
} else {
|
||||||
/* There is no need to compensate for latency when not rolling
|
/* There is no need to compensate for latency when not rolling
|
||||||
* rather send the accurate NOW timecode
|
* rather send the accurate NOW timecode
|
||||||
|
|||||||
Reference in New Issue
Block a user