mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 06:35:46 +01:00
try to fix crashes due to not-enough-per-thread-buffers by just using more of them
git-svn-id: svn://localhost/ardour2/branches/3.0@13029 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8d6d3c309d
commit
ae62e9443b
1 changed files with 5 additions and 1 deletions
|
|
@ -299,7 +299,11 @@ ARDOUR::init (bool use_windows_vst, bool try_optimization)
|
|||
(void) PluginManager::instance();
|
||||
|
||||
ProcessThread::init ();
|
||||
BufferManager::init (hardware_concurrency() + 1);
|
||||
/* the + 4 is a bit of a handwave. i don't actually know
|
||||
how many more per-thread buffer sets we need above
|
||||
the h/w concurrency, but its definitely > 1 more.
|
||||
*/
|
||||
BufferManager::init (hardware_concurrency() + 4);
|
||||
|
||||
PannerManager::instance().discover_panners();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue