additional DEBUG_TRACE output for slave/diskreader
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 27 Jul 2017 21:39:45 +0000 (17:39 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 18 Sep 2017 15:40:53 +0000 (11:40 -0400)
libs/ardour/session_process.cc

index b642a0bb0d38a49aa2a1af6d3f0cc13fcb40df88..bac50b61a84dd71924efbac869c170a10e537825 100644 (file)
@@ -653,14 +653,14 @@ Session::follow_slave (pframes_t nframes)
                        }
 
                        if (!actively_recording() && (framecnt_t) average_slave_delta > _slave->resolution()) {
-                               DEBUG_TRACE (DEBUG::Slave, string_compose ("average slave delta %1 greater than slave resolution %2 => silent motion\n", average_slave_delta, _slave->resolution()));
+                               DEBUG_TRACE (DEBUG::Slave, string_compose ("average slave delta %1 greater than slave resolution %2 => no disk output\n", average_slave_delta, _slave->resolution()));
                                /* run routes as normal, but no disk output */
                                DiskReader::set_no_disk_output (true);
                                return true;
                        }
 
                        if (!have_first_delta_accumulator) {
-                               DEBUG_TRACE (DEBUG::Slave, "waiting for first slave delta accumulator to be ready\n");
+                               DEBUG_TRACE (DEBUG::Slave, "waiting for first slave delta accumulator to be ready, no disk output\n");
                                /* run routes as normal, but no disk output */
                                DiskReader::set_no_disk_output (true);
                                return true;
@@ -670,6 +670,7 @@ Session::follow_slave (pframes_t nframes)
 
 
        if (!have_first_delta_accumulator) {
+               DEBUG_TRACE (DEBUG::Slave, "still waiting to compute slave delta, no disk output\n");
                DiskReader::set_no_disk_output (true);
        } else {
                DiskReader::set_no_disk_output (false);