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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user