continue with MTC debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@6236 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
1614402e50
commit
e374518ca9
@ -156,18 +156,18 @@ MTC_Slave::update_mtc_time (const byte *msg, bool was_full)
|
|||||||
frames.
|
frames.
|
||||||
Also compensate for audio latency.
|
Also compensate for audio latency.
|
||||||
*/
|
*/
|
||||||
|
#if 0
|
||||||
mtc_frame += (long) (1.75 * session.frames_per_timecode_frame()) + session.worst_output_latency();
|
mtc_frame += (long) (1.75 * session.frames_per_timecode_frame()) + session.worst_output_latency();
|
||||||
|
|
||||||
double speed = compute_apparent_speed (now);
|
|
||||||
|
|
||||||
|
/* leave speed alone here. compute it only as we receive qtr frame messages */
|
||||||
|
|
||||||
current.guard1++;
|
current.guard1++;
|
||||||
current.position = mtc_frame;
|
current.position = mtc_frame;
|
||||||
current.timestamp = now;
|
current.timestamp = now;
|
||||||
current.speed = speed;
|
|
||||||
current.guard2++;
|
current.guard2++;
|
||||||
|
|
||||||
DEBUG_TRACE (DEBUG::MTC, string_compose ("stored TC frame = %1 @ %2, sp = %3\n", mtc_frame, now, speed));
|
DEBUG_TRACE (DEBUG::MTC, string_compose ("stored TC frame = %1 @ %2, sp = %3\n", mtc_frame, now, speed));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
last_inbound_frame = now;
|
last_inbound_frame = now;
|
||||||
|
Loading…
Reference in New Issue
Block a user