summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-09-22 13:23:18 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-09-28 17:42:11 -0400
commitb9611a3168608f968a03e637af2ab2b24ca83e78 (patch)
tree1c7705c7fdb4eeb676e5327fbfb01134193cf4a5
parent9202bc162a2d70a08f251eb0e0520bedef879c97 (diff)
a few new DEBUG_TRACE calls related to session transport state
-rw-r--r--libs/ardour/session_transport.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc
index 3c7d580af6..a9d68a2363 100644
--- a/libs/ardour/session_transport.cc
+++ b/libs/ardour/session_transport.cc
@@ -1429,6 +1429,8 @@ Session::stop_transport (bool abort, bool clear_state)
return;
}
+ DEBUG_TRACE (DEBUG::Transport, string_compose ("stop_transport, declick required? %1\n", get_transport_declick_required()));
+
if (!get_transport_declick_required()) {
/* stop has not yet been scheduled */
@@ -1481,8 +1483,8 @@ Session::stop_transport (bool abort, bool clear_state)
/* Not recording, schedule a declick in the next process() cycle and then stop at its end */
new_bits = PendingDeclickOut;
+ DEBUG_TRACE (DEBUG::Transport, string_compose ("stop scheduled for next process cycle @ %1\n", _transport_frame));
}
-
/* we'll be called again after the declick */
transport_sub_state = SubState (transport_sub_state|new_bits);
@@ -1491,6 +1493,8 @@ Session::stop_transport (bool abort, bool clear_state)
return;
} else {
+
+ DEBUG_TRACE (DEBUG::Transport, "time to actually stop\n");
/* declick was scheduled, but we've been called again, which means it is really time to stop