Browse Source

fixed-buffers on by default for bridges; forgot chunks

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

+ 5
- 1
source/backend/plugin/CarlaPluginBridge.cpp View File

@@ -2557,7 +2557,7 @@ public:

if ((fInfo.optionsAvailable & PLUGIN_OPTION_FIXED_BUFFERS) == 0x0)
pData->options |= PLUGIN_OPTION_FIXED_BUFFERS;
else if (options & PLUGIN_OPTION_FIXED_BUFFERS)
else if (isPluginOptionEnabled(options, PLUGIN_OPTION_FIXED_BUFFERS))
pData->options |= PLUGIN_OPTION_FIXED_BUFFERS;

if (pData->engine->getOptions().forceStereo)
@@ -2570,6 +2570,10 @@ public:
pData->options |= PLUGIN_OPTION_FORCE_STEREO;
}

if (fInfo.optionsAvailable & PLUGIN_OPTION_USE_CHUNKS)
if (isPluginOptionEnabled(options, PLUGIN_OPTION_USE_CHUNKS))
pData->options |= PLUGIN_OPTION_USE_CHUNKS;

if (fInfo.optionsAvailable & PLUGIN_OPTION_SEND_CONTROL_CHANGES)
if (isPluginOptionEnabled(options, PLUGIN_OPTION_SEND_CONTROL_CHANGES))
pData->options |= PLUGIN_OPTION_SEND_CONTROL_CHANGES;


Loading…
Cancel
Save