summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index efe9ffb351..86f427f792 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) {