summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-09-18 19:49:26 +0000
committerCarl Hetherington <carl@carlh.net>2011-09-18 19:49:26 +0000
commit87d57a1de9125e9b2c2e0c46178906edaf7c122a (patch)
treeaa0e716086f49c97023171f2eb4e1c473c20c398 /libs/ardour/session_process.cc
parente65636a0873dfe78af1625ea1c9d15d6c0e8b881 (diff)
Remove unused rec_monitors_input variables.
git-svn-id: svn://localhost/ardour2/branches/3.0@10091 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc10
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;
}