mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
more MTC debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@6566 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c42d0a5fa4
commit
b7e24583d9
1 changed files with 3 additions and 1 deletions
|
|
@ -115,6 +115,7 @@ MTC_Slave::update_mtc_time (const byte *msg, bool was_full, nframes_t now)
|
|||
*/
|
||||
|
||||
if (now) {
|
||||
DEBUG_TRACE (DEBUG::MTC, string_compose ("update MTC time does a reset, was full ? %1 now = %2\n", was_full, now));
|
||||
maybe_reset ();
|
||||
}
|
||||
|
||||
|
|
@ -180,7 +181,7 @@ MTC_Slave::update_mtc_time (const byte *msg, bool was_full, nframes_t now)
|
|||
|
||||
DEBUG_TRACE (DEBUG::MTC, string_compose ("MTC time timestamp = %1 TC %2 = frame %3 (from full message ? %4)\n",
|
||||
now, timecode, mtc_frame, was_full));
|
||||
|
||||
|
||||
if (was_full || outside_window (mtc_frame)) {
|
||||
|
||||
session.timecode_to_sample (timecode, mtc_frame, true, false);
|
||||
|
|
@ -488,6 +489,7 @@ MTC_Slave::maybe_reset ()
|
|||
reset_lock.lock ();
|
||||
|
||||
if (reset_pending) {
|
||||
DEBUG_TRACE (DEBUG::MTC, "actually reset\n");
|
||||
reset ();
|
||||
reset_pending = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue