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/mtc_slave.cc | |
parent | f05f19bdd4c376d8427f488ab9c812df4d400fbc (diff) |
Clarify "frames" (video, timecode) vs "samples" (audio)
Diffstat (limited to 'libs/ardour/mtc_slave.cc')
-rw-r--r-- | libs/ardour/mtc_slave.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/mtc_slave.cc b/libs/ardour/mtc_slave.cc index 102694e7ac..5eda7e14a5 100644 --- a/libs/ardour/mtc_slave.cc +++ b/libs/ardour/mtc_slave.cc @@ -65,7 +65,7 @@ MTC_Slave::MTC_Slave (Session& s, MidiPort& p) busy_guard1 = busy_guard2 = 0; last_mtc_fps_byte = session.get_mtc_timecode_bits (); - quarter_frame_duration = (double(session.frames_per_timecode_frame()) / 4.0); + quarter_frame_duration = (double(session.samples_per_timecode_frame()) / 4.0); mtc_timecode = session.config.get_timecode_format(); a3e_timecode = session.config.get_timecode_format(); @@ -448,7 +448,7 @@ MTC_Slave::update_mtc_time (const MIDI::byte *msg, bool was_full, framepos_t now long int mtc_off = (long) rint(7.0 * qtr); DEBUG_TRACE (DEBUG::MTC, string_compose ("new mtc_frame: %1 | MTC-FpT: %2 A3-FpT:%3\n", - mtc_frame, (4.0*qtr), session.frames_per_timecode_frame())); + mtc_frame, (4.0*qtr), session.samples_per_timecode_frame())); switch (port->self_parser().mtc_running()) { case MTC_Backward: |