From d697bf5388783d723d067281cef13d8c162faf02 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 29 Jan 2015 18:57:01 -0500 Subject: [PATCH] stop transport when process_routes fails, even when using the parallel graph execution model --- libs/ardour/session_process.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index 497fbd4d2e..4e4b65ebb3 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -159,7 +159,10 @@ Session::process_routes (pframes_t nframes, bool& need_butler) if (_process_graph) { DEBUG_TRACE(DEBUG::ProcessThreads,"calling graph/process-routes\n"); - _process_graph->process_routes (nframes, start_frame, end_frame, declick, need_butler); + if (_process_graph->process_routes (nframes, start_frame, end_frame, declick, need_butler) < 0) { + stop_transport (); + return -1; + } } else { for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {