Browse Source

Use fixed buffers on standalone bridge mode

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0
falkTX 4 years ago
parent
commit
3ee39e8976
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
6 changed files with 20 additions and 1 deletions
  1. +5
    -0
      source/backend/engine/.kdev_include_paths
  2. +5
    -0
      source/backend/plugin/.kdev_include_paths
  3. +0
    -1
      source/backend/plugin/CarlaPluginJuce.cpp
  4. +4
    -0
      source/backend/utils/.kdev_include_paths
  5. +1
    -0
      source/bridges-plugin/.kdev_include_paths
  6. +5
    -0
      source/bridges-plugin/CarlaBridgePlugin.cpp

+ 5
- 0
source/backend/engine/.kdev_include_paths View File

@@ -0,0 +1,5 @@
../
../../
../../includes/
../../modules/
../../utils/

+ 5
- 0
source/backend/plugin/.kdev_include_paths View File

@@ -0,0 +1,5 @@
../
../../
../../includes/
../../modules/
../../utils/

+ 0
- 1
source/backend/plugin/CarlaPluginJuce.cpp View File

@@ -207,7 +207,6 @@ public:

uint options = 0x0;

options |= PLUGIN_OPTION_MAP_PROGRAM_CHANGES;
options |= PLUGIN_OPTION_USE_CHUNKS;

if (fInstance->getNumPrograms() > 1)


+ 4
- 0
source/backend/utils/.kdev_include_paths View File

@@ -0,0 +1,4 @@
../
../../includes/
../../modules/
../../utils/

+ 1
- 0
source/bridges-plugin/.kdev_include_paths View File

@@ -1,3 +1,4 @@
../
../backend/
../includes/
../modules/


+ 5
- 0
source/bridges-plugin/CarlaBridgePlugin.cpp View File

@@ -679,6 +679,11 @@ int main(int argc, char* argv[])
if (! testing)
carla_show_custom_ui(gHostHandle, 0, true);
}

// on standalone usage, enable everything that makes sense
const uint optsAvailable = pluginInfo->optionsAvailable;
if (optsAvailable & CarlaBackend::PLUGIN_OPTION_FIXED_BUFFERS)
carla_set_option(gHostHandle, 0, CarlaBackend::PLUGIN_OPTION_FIXED_BUFFERS, true);
}
}



Loading…
Cancel
Save