13
0

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
This commit is contained in:
Paul Davis 2011-02-09 13:11:14 +00:00
parent 08e01b85c8
commit e460208d22

View File

@ -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();
}