mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
fix LTC generator latency compensation.
This commit is contained in:
parent
fa9780ba67
commit
8ca546ec88
1 changed files with 2 additions and 2 deletions
|
|
@ -248,9 +248,9 @@ Session::ltc_tx_send_time_code_for_cycle (framepos_t start_frame, framepos_t end
|
|||
framepos_t cycle_start_frame;
|
||||
|
||||
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);
|
||||
} else if (current_speed > 0) {
|
||||
cycle_start_frame = (start_frame - ltc_out_latency.max);
|
||||
} else {
|
||||
/* There is no need to compensate for latency when not rolling
|
||||
* rather send the accurate NOW timecode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue