Update comment about required buffers
This commit is contained in:
parent
2554302281
commit
6c2c3a49c4
@ -646,10 +646,14 @@ ARDOUR::init (bool try_optimization, const char* localedir, bool with_gui)
|
|||||||
*/
|
*/
|
||||||
EventLoop::register_request_buffer_factory (X_("midiUI"), MidiControlUI::request_factory);
|
EventLoop::register_request_buffer_factory (X_("midiUI"), MidiControlUI::request_factory);
|
||||||
|
|
||||||
/* the + 4 is a bit of a handwave. i don't actually know
|
/* Every Process Graph thread (up to hardware_concurrency) keeps a buffer.
|
||||||
how many more per-thread buffer sets we need above
|
* The main engine callback uses one (but returns it after use
|
||||||
the h/w concurrency, but its definitely > 1 more.
|
* each cycle). Session Export uses one, and the GUI requires
|
||||||
*/
|
* buffers (for plugin-analysis, auditioner updates) but not
|
||||||
|
* concurrently.
|
||||||
|
*
|
||||||
|
* In theory (hw + 3) should be sufficient, let's add one for luck.
|
||||||
|
*/
|
||||||
BufferManager::init (hardware_concurrency () + 4);
|
BufferManager::init (hardware_concurrency () + 4);
|
||||||
|
|
||||||
PannerManager::instance ().discover_panners ();
|
PannerManager::instance ().discover_panners ();
|
||||||
|
Loading…
Reference in New Issue
Block a user