summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-07-28 11:02:34 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-09-18 11:40:53 -0400
commit7149d726251fd69556d09a8d0e7894c993849ab7 (patch)
tree7adb9ccb7effe5f1d54f33180aee7069c1270b77 /libs/ardour/session_process.cc
parentb5e187729723eba9d9b1e16005a74ef14338cff7 (diff)
verbose debug output for slave debugging
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index bac50b61a8..b59248cf0c 100644
--- a/libs/ardour/session_process.cc
+++ b/libs/ardour/session_process.cc
@@ -413,11 +413,13 @@ Session::process_with_events (pframes_t nframes)
if (!_exporting && _slave) {
if (!follow_slave (nframes)) {
+ cerr << "P-w-E: FS fail\n";
return;
}
}
if (_transport_speed == 0) {
+ cerr << "P-w-E: ts = 0\n";
no_roll (nframes);
return;
}
@@ -431,6 +433,7 @@ Session::process_with_events (pframes_t nframes)
framepos_t stop_limit = compute_stop_limit ();
if (maybe_stop (stop_limit)) {
+ cerr << "P-w-E: mebbe stop\n";
no_roll (nframes);
return;
}
@@ -466,6 +469,7 @@ Session::process_with_events (pframes_t nframes)
click (_transport_frame, this_nframes);
if (process_routes (this_nframes, session_needs_butler)) {
+ cerr << "P-w-E: PR fail\n";
fail_roll (nframes);
return;
}
@@ -480,6 +484,8 @@ Session::process_with_events (pframes_t nframes)
increment_transport_position (frames_moved);
}
+ cerr << "P-w-E: ts now = " << _transport_frame << endl;
+
maybe_stop (stop_limit);
check_declick_out ();
}
@@ -504,6 +510,7 @@ Session::process_with_events (pframes_t nframes)
/* if an event left our state changing, do the right thing */
if (nframes && non_realtime_work_pending()) {
+ cerr << "P-w-E: nrtwp no roll\n";
no_roll (nframes);
break;
}
@@ -516,6 +523,8 @@ Session::process_with_events (pframes_t nframes)
} /* implicit release of route lock */
+ cerr << "P-w-E: final ts = " << _transport_frame << endl;
+
if (session_needs_butler) {
DEBUG_TRACE (DEBUG::Butler, "p-with-events: session needs butler, call it\n");
_butler->summon ();
@@ -838,11 +847,13 @@ Session::process_without_events (pframes_t nframes)
if (!_exporting && _slave) {
if (!follow_slave (nframes)) {
ltc_tx_send_time_code_for_cycle (_transport_frame, _transport_frame, 0, 0 , nframes);
+ cerr << "p-WO-E: FS fail\n";
return;
}
}
if (_transport_speed == 0) {
+ cerr << "p-WO-E: ts = 0\n";
no_roll (nframes);
return;
}
@@ -868,17 +879,20 @@ Session::process_without_events (pframes_t nframes)
framepos_t const stop_limit = compute_stop_limit ();
if (maybe_stop (stop_limit)) {
+ cerr << "p-WO-E: mebbe stop\n";
no_roll (nframes);
return;
}
if (maybe_sync_start (nframes)) {
+ cerr << "p-WO-E: sync start said no\n";
return;
}
click (_transport_frame, nframes);
if (process_routes (nframes, session_needs_butler)) {
+ cerr << "p-WO-E: pr failed\n";
fail_roll (nframes);
return;
}
@@ -891,6 +905,8 @@ Session::process_without_events (pframes_t nframes)
increment_transport_position (frames_moved);
}
+ cerr << "p-WO-E: ts now " << _transport_frame << endl;
+
maybe_stop (stop_limit);
check_declick_out ();