diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-09 02:41:01 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-09 02:41:01 +0000 |
commit | e61b5e23c436c0e54cd000c6326b70ad789f1c4a (patch) | |
tree | 1ef1edd63f9dc9b90b40c2ee0d25546f2f78ce7a /libs/ardour/ardour/graph.h | |
parent | 418e7ec22926cf3fe25ba7eea8e6e5bcc2238fd7 (diff) |
split out ARDOUR::how_many_dsp_threads() ; fix test for whether to use use route_graph or just process routes in-thread
git-svn-id: svn://localhost/ardour2/branches/3.0@8793 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/graph.h')
-rw-r--r-- | libs/ardour/ardour/graph.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/graph.h b/libs/ardour/ardour/graph.h index 7984839431..a3f1523b15 100644 --- a/libs/ardour/ardour/graph.h +++ b/libs/ardour/ardour/graph.h @@ -58,6 +58,8 @@ class Graph : public SessionHandleRef public: Graph (Session & session); + uint32_t threads_in_use () const { return _thread_list.size(); } + void prep(); void trigger (GraphNode * n); void rechain (boost::shared_ptr<RouteList> r); |