diff options
author | Robin Gareus <robin@gareus.org> | 2016-12-08 12:26:41 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-08 12:45:44 +0100 |
commit | 61c7af141d339187d229d28a09940e25b2e144f8 (patch) | |
tree | b0eadbe84252513f785f36ea1ffff0c2783a8745 /libs/ardour/session_ltc.cc | |
parent | f05f19bdd4c376d8427f488ab9c812df4d400fbc (diff) |
Clarify "frames" (video, timecode) vs "samples" (audio)
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 0ce7d766fc..51a39d0677 100644 --- a/libs/ardour/session_ltc.cc +++ b/libs/ardour/session_ltc.cc @@ -275,7 +275,7 @@ Session::ltc_tx_send_time_code_for_cycle (framepos_t start_frame, framepos_t end /* LTC TV standard offset */ if (current_speed != 0) { /* ditto - send "NOW" if not rolling */ - cycle_start_frame -= ltc_frame_alignment(frames_per_timecode_frame(), TV_STANDARD(cur_timecode)); + cycle_start_frame -= ltc_frame_alignment(samples_per_timecode_frame(), TV_STANDARD(cur_timecode)); } /* cycle-start may become negative due to latency compensation */ @@ -448,7 +448,7 @@ Session::ltc_tx_send_time_code_for_cycle (framepos_t start_frame, framepos_t end // (4) check if alignment matches - const double fptcf = frames_per_timecode_frame(); + const double fptcf = samples_per_timecode_frame(); /* maximum difference of bit alignment in audio-samples. * |