diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-09 13:11:14 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-09 13:11:14 +0000 |
commit | e460208d227312f1451db7db3f8ece835c797f45 (patch) | |
tree | 653d1e826653a3f50f382c2a91f72e0e78b4eabf /libs/ardour/export_graph_builder.cc | |
parent | 08e01b85c8f49c1b9dd7af18ba10a0897701545b (diff) |
export graph uses as many threads as there are cores, not the number of DSP threads
git-svn-id: svn://localhost/ardour2/branches/3.0@8796 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/export_graph_builder.cc')
-rw-r--r-- | libs/ardour/export_graph_builder.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/export_graph_builder.cc b/libs/ardour/export_graph_builder.cc index 916a4ad265..9a6a9da81b 100644 --- a/libs/ardour/export_graph_builder.cc +++ b/libs/ardour/export_graph_builder.cc @@ -20,6 +20,7 @@ #include "ardour/utils.h" #include "pbd/filesystem.h" +#include "pbd/cpus.h" using namespace AudioGrapher; using std::string; @@ -28,7 +29,7 @@ namespace ARDOUR { ExportGraphBuilder::ExportGraphBuilder (Session const & session) : session (session) - , thread_pool (how_many_dsp_threads()) + , thread_pool (hardware_concurrency()) { process_buffer_frames = session.engine().frames_per_cycle(); } |