summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-04-11 17:38:34 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2017-09-18 11:40:53 -0400
commit53e6f13852f1cc831002cce9dc84d07e7e526515 (patch)
treef199dcfb041f77e69fa5fefe8d91c662aad768de /libs/ardour/session_process.cc
parent462711b23ab270c77d3ccb5aa23f5f9088b456b1 (diff)
addd more DEBUG_TRACE for DiskIO; set DiskIOProcess::_need_butler more appropriately; other minor adjustments
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index f74bfd2d73..a24123d959 100644
--- a/libs/ardour/session_process.cc
+++ b/libs/ardour/session_process.cc
@@ -218,6 +218,7 @@ Session::process_routes (pframes_t nframes, bool& need_butler)
}
if (b) {
+ DEBUG_TRACE (DEBUG::Butler, string_compose ("%1 rolled and needs butler\n", (*i)->name()));
need_butler = true;
}
}
@@ -548,6 +549,7 @@ Session::process_with_events (pframes_t nframes)
} /* implicit release of route lock */
if (session_needs_butler) {
+ DEBUG_TRACE (DEBUG::Butler, "p-with-events: session needs butler, call it\n");
_butler->summon ();
}
}
@@ -859,6 +861,7 @@ Session::follow_slave_silently (pframes_t nframes, float slave_speed)
get_track_statistics ();
if (need_butler) {
+ DEBUG_TRACE (DEBUG::Butler, "f-slave-silently: session needs butler, call it\n");
_butler->summon ();
}
@@ -942,6 +945,7 @@ Session::process_without_events (pframes_t nframes)
check_declick_out ();
if (session_needs_butler) {
+ DEBUG_TRACE (DEBUG::Butler, "p-without-events: session needs butler, call it\n");
_butler->summon ();
}
}
@@ -964,6 +968,7 @@ Session::process_audition (pframes_t nframes)
/* run the auditioner, and if it says we need butler service, ask for it */
if (auditioner->play_audition (nframes) > 0) {
+ DEBUG_TRACE (DEBUG::Butler, "auditioner needs butler, call it\n");
_butler->summon ();
}