mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
Fix LTC generator alignment
When rolling forward the LTC generator needs to send future a timestamp, so that when it matches the current time when the signal arrives at the output port. (A6 aligns transport playhead to output)
This commit is contained in:
parent
7a5dc98296
commit
10df041421
1 changed files with 2 additions and 2 deletions
|
|
@ -273,9 +273,9 @@ Session::send_ltc_for_cycle (samplepos_t start_sample, samplepos_t end_sample, p
|
|||
samplepos_t cycle_start_sample;
|
||||
|
||||
if (new_ltc_speed < 0) {
|
||||
cycle_start_sample = (start_sample + ltc_out_latency.max);
|
||||
} else if (new_ltc_speed > 0) {
|
||||
cycle_start_sample = (start_sample - ltc_out_latency.max);
|
||||
} else if (new_ltc_speed > 0) {
|
||||
cycle_start_sample = (start_sample + 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