diff options
author | Robin Gareus <robin@gareus.org> | 2014-10-11 11:15:08 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-10-11 11:15:08 +0200 |
commit | 8ca546ec883191bdbd2825883eca323a68cfea56 (patch) | |
tree | 6faf851841376b8d6e516240c243f3a6cb23fb4a /libs/ardour/session_ltc.cc | |
parent | fa9780ba676e1b128d412d9daf8b51a48b209d90 (diff) |
fix LTC generator latency compensation.
Diffstat (limited to 'libs/ardour/session_ltc.cc')
-rw-r--r-- | libs/ardour/session_ltc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session_ltc.cc b/libs/ardour/session_ltc.cc index 2ce25b5a48..1c05f61b22 100644 --- a/libs/ardour/session_ltc.cc +++ b/libs/ardour/session_ltc.cc @@ -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 |