summaryrefslogtreecommitdiff
path: root/libs/ardour/export_graph_builder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/export_graph_builder.cc')
-rw-r--r--libs/ardour/export_graph_builder.cc3
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();
}