summaryrefslogtreecommitdiff
path: root/libs/ardour/graph.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-01-30 09:22:59 +0100
committerRobin Gareus <robin@gareus.org>2015-01-30 10:43:56 +0100
commitf15236b9a03cc7e4a5c3d053bc02ab1811eec159 (patch)
treeb140ed326b59b89e25a9725b2abd6080cf91b7ca /libs/ardour/graph.cc
parentbdfe32c08634f505bd7f782b8d0df69bdaa5c4e6 (diff)
amend 070818f
Diffstat (limited to 'libs/ardour/graph.cc')
-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;