mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-12 09:36:33 +01:00
make the export graph use the same number of threads as the DSP graph
git-svn-id: svn://localhost/ardour2/branches/3.0@8795 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a2354db323
commit
08e01b85c8
1 changed files with 2 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
||||||
#include "ardour/export_format_specification.h"
|
#include "ardour/export_format_specification.h"
|
||||||
#include "ardour/export_timespan.h"
|
#include "ardour/export_timespan.h"
|
||||||
#include "ardour/sndfile_helpers.h"
|
#include "ardour/sndfile_helpers.h"
|
||||||
|
#include "ardour/utils.h"
|
||||||
|
|
||||||
#include "pbd/filesystem.h"
|
#include "pbd/filesystem.h"
|
||||||
|
|
||||||
|
|
@ -27,7 +28,7 @@ namespace ARDOUR {
|
||||||
|
|
||||||
ExportGraphBuilder::ExportGraphBuilder (Session const & session)
|
ExportGraphBuilder::ExportGraphBuilder (Session const & session)
|
||||||
: session (session)
|
: session (session)
|
||||||
, thread_pool (4) // FIXME thread amount to cores amount
|
, thread_pool (how_many_dsp_threads())
|
||||||
{
|
{
|
||||||
process_buffer_frames = session.engine().frames_per_cycle();
|
process_buffer_frames = session.engine().frames_per_cycle();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue