Browse Source

Allow to disable forced stereo on internal and lv2 if already on

Fixes #552
tags/1.9.8
falkTX 7 years ago
parent
commit
8f9cbd8de4
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      source/backend/plugin/CarlaPluginLV2.cpp
  2. +1
    -1
      source/backend/plugin/CarlaPluginNative.cpp

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

@@ -840,7 +840,7 @@ public:
if (pData->engine->getOptions().forceStereo)
pass();
// if inputs or outputs are just 1, then yes we can force stereo
else if ((pData->audioIn.count == 1 || pData->audioOut.count == 1) && fCanInit2)
else if (((pData->audioIn.count == 1 || pData->audioOut.count == 1) && fCanInit2) || fHandle2 != nullptr)
options |= PLUGIN_OPTION_FORCE_STEREO;

if (fExt.programs != nullptr)


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

@@ -351,7 +351,7 @@ public:
if (pData->engine->getOptions().forceStereo)
pass();
// if inputs or outputs are just 1, then yes we can force stereo
else if (pData->audioIn.count == 1 || pData->audioOut.count == 1)
else if (pData->audioIn.count == 1 || pData->audioOut.count == 1 || fHandle2 != nullptr)
options |= PLUGIN_OPTION_FORCE_STEREO;

if (fDescriptor->supports & NATIVE_PLUGIN_SUPPORTS_CONTROL_CHANGES)


Loading…
Cancel
Save