summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/graph.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc
index cc82fb6c53..de2ec802df 100644
--- a/libs/ardour/graph.cc
+++ b/libs/ardour/graph.cc
@@ -485,6 +485,8 @@ Graph::dump (int chain)
int
Graph::silent_process_routes (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, bool& need_butler)
{
+ if (!_threads_active) return 0;
+
_process_nframes = nframes;
_process_start_frame = start_frame;
_process_end_frame = end_frame;
@@ -510,6 +512,8 @@ Graph::process_routes (pframes_t nframes, framepos_t start_frame, framepos_t end
{
DEBUG_TRACE (DEBUG::ProcessThreads, string_compose ("graph execution from %1 to %2 = %3\n", start_frame, end_frame, nframes));
+ if (!_threads_active) return 0;
+
_process_nframes = nframes;
_process_start_frame = start_frame;
_process_end_frame = end_frame;