Browse Source

Increase default size of plugin RT data pool

128 is not even enough for all-notes-off plus random events
512 seems a safe number, for now

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.1-rc2
falkTX 4 years ago
parent
commit
65da85d288
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/backend/plugin/CarlaPluginInternal.cpp

+ 1
- 1
source/backend/plugin/CarlaPluginInternal.cpp View File

@@ -580,7 +580,7 @@ void CarlaPlugin::ProtectedData::Latency::recreateBuffers(const uint32_t newChan
// ProtectedData::PostRtEvents // ProtectedData::PostRtEvents


CarlaPlugin::ProtectedData::PostRtEvents::PostRtEvents() noexcept CarlaPlugin::ProtectedData::PostRtEvents::PostRtEvents() noexcept
: dataPool(128, 128),
: dataPool(512, 512),
data(dataPool), data(dataPool),
dataPendingRT(dataPool), dataPendingRT(dataPool),
dataMutex(), dataMutex(),


Loading…
Cancel
Save