From f15236b9a03cc7e4a5c3d053bc02ab1811eec159 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 30 Jan 2015 09:22:59 +0100 Subject: [PATCH] amend 070818f --- libs/ardour/graph.cc | 4 ++++ 1 file changed, 4 insertions(+) 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;