diff options
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r-- | libs/ardour/session_process.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index f0d2bcaa84..947bceac9d 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -136,7 +136,6 @@ Session::process_routes (pframes_t nframes, bool& need_butler) { bool record_active; int declick = get_transport_declick_required(); - bool rec_monitors = get_rec_monitors_input(); boost::shared_ptr<RouteList> r = routes.reader (); if (transport_sub_state & StopPendingCapture) { @@ -155,7 +154,7 @@ Session::process_routes (pframes_t nframes, bool& need_butler) */ if (1 || route_graph->threads_in_use() > 0) { DEBUG_TRACE(DEBUG::ProcessThreads,"calling graph/process-routes\n"); - route_graph->process_routes( nframes, start_frame, end_frame, declick, record_active, rec_monitors, need_butler); + route_graph->process_routes (nframes, start_frame, end_frame, declick, record_active, need_butler); } else { for (RouteList::iterator i = r->begin(); i != r->end(); ++i) { @@ -168,7 +167,7 @@ Session::process_routes (pframes_t nframes, bool& need_butler) (*i)->set_pending_declick (declick); - if ((ret = (*i)->roll (nframes, start_frame, end_frame, declick, record_active, rec_monitors, need_butler)) < 0) { + if ((ret = (*i)->roll (nframes, start_frame, end_frame, declick, record_active, need_butler)) < 0) { stop_transport (); return -1; } @@ -182,7 +181,6 @@ int Session::silent_process_routes (pframes_t nframes, bool& need_butler) { bool record_active = actively_recording(); - bool rec_monitors = get_rec_monitors_input(); boost::shared_ptr<RouteList> r = routes.reader (); const framepos_t start_frame = _transport_frame; @@ -193,7 +191,7 @@ Session::silent_process_routes (pframes_t nframes, bool& need_butler) tracks, the graph never gets updated. */ if (1 || route_graph->threads_in_use() > 0) { - route_graph->silent_process_routes( nframes, start_frame, end_frame, record_active, rec_monitors, need_butler); + route_graph->silent_process_routes (nframes, start_frame, end_frame, record_active, need_butler); } else { for (RouteList::iterator i = r->begin(); i != r->end(); ++i) { @@ -203,7 +201,7 @@ Session::silent_process_routes (pframes_t nframes, bool& need_butler) continue; } - if ((ret = (*i)->silent_roll (nframes, start_frame, end_frame, record_active, rec_monitors, need_butler)) < 0) { + if ((ret = (*i)->silent_roll (nframes, start_frame, end_frame, record_active, need_butler)) < 0) { stop_transport (); return -1; } |