summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
authorTorben Hohn <torbenh@gmx.de>2010-06-03 19:50:22 +0000
committerTorben Hohn <torbenh@gmx.de>2010-06-03 19:50:22 +0000
commitc59dade835fa5aa8150fae6d503bd93eee92075d (patch)
treebaa49dbc9be30b33629f80be62cd0c63444615bd /libs/ardour/session_process.cc
parentfcbb78b010a53686d1c350864d731a73bd204956 (diff)
merge 3.0P into trunk.
git-svn-id: svn://localhost/ardour2/branches/3.0@7224 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc12
1 files changed, 10 insertions, 2 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index 94527c6646..9549227933 100644
--- a/libs/ardour/session_process.cc
+++ b/libs/ardour/session_process.cc
@@ -36,6 +36,7 @@
#include "ardour/session.h"
#include "ardour/slave.h"
#include "ardour/timestamps.h"
+#include "ardour/graph.h"
#include "ardour/port.h"
#include "midi++/manager.h"
@@ -104,6 +105,8 @@ Session::no_roll (nframes_t nframes)
_click_io->silence (nframes);
}
+ route_graph->routes_no_roll( nframes, _transport_frame, end_frame, non_realtime_work_pending(), actively_recording(), declick);
+ /*
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
if ((*i)->is_hidden()) {
@@ -119,6 +122,7 @@ Session::no_roll (nframes_t nframes)
break;
}
}
+ */
return ret;
}
@@ -141,6 +145,8 @@ Session::process_routes (nframes_t nframes, bool& need_butler)
const nframes_t start_frame = _transport_frame;
const nframes_t end_frame = _transport_frame + (nframes_t)floor(nframes * _transport_speed);
+ route_graph->process_routes( nframes, start_frame, end_frame, declick, record_active, rec_monitors, need_butler);
+/*
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
int ret;
@@ -156,7 +162,7 @@ Session::process_routes (nframes_t nframes, bool& need_butler)
return -1;
}
}
-
+*/
return 0;
}
@@ -176,6 +182,8 @@ Session::silent_process_routes (nframes_t nframes, bool& need_butler)
const nframes_t start_frame = _transport_frame;
const nframes_t end_frame = _transport_frame + lrintf(nframes * _transport_speed);
+ route_graph->silent_process_routes( nframes, start_frame, end_frame, record_active, rec_monitors, need_butler);
+/*
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
int ret;
@@ -189,7 +197,7 @@ Session::silent_process_routes (nframes_t nframes, bool& need_butler)
return -1;
}
}
-
+*/
return 0;
}