Browse Source

better auto-discovery, tweak plugin filters

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.3
falkTX 2 years ago
parent
commit
f8407ee6ae
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 6 additions and 8 deletions
  1. +1
    -1
      carla
  2. +5
    -7
      plugins/Common/IldaeilUI.cpp

+ 1
- 1
carla

@@ -1 +1 @@
Subproject commit 7321be60c6c523cc755b0979571a0a6a5e0c7085
Subproject commit 5e34da68874789ed1e622adddff9d667d94d0446

+ 5
- 7
plugins/Common/IldaeilUI.cpp View File

@@ -849,14 +849,12 @@ protected:
{
if (info->io.cvIns != 0 || info->io.cvOuts != 0)
return;

#if ILDAEIL_STANDALONE
if (info->io.midiIns != 0 && info->io.midiIns != 1)
return;
if (info->io.midiOuts != 0 && info->io.midiOuts != 1)
return;
if (info->io.audioIns > 2 || info->io.audioOuts > 2)
return;
#if ILDAEIL_STANDALONE
if (fPluginType == PLUGIN_INTERNAL)
{
if (std::strcmp(info->label, "audiogain") == 0)
@@ -867,11 +865,11 @@ protected:
return;
}
#elif DISTRHO_PLUGIN_IS_SYNTH
if (info->io.midiIns != 1 && info->io.audioIns != 0)
if (info->io.midiIns != 1)
return;
if ((info->metadata.hints & PLUGIN_IS_SYNTH) == 0x0 && info->io.audioIns != 0)
if (info->io.audioIns == 0)
return;
if (info->io.audioOuts != 1 && info->io.audioOuts != 2)
if ((info->metadata.hints & PLUGIN_IS_SYNTH) == 0x0)
return;
#elif DISTRHO_PLUGIN_WANT_MIDI_OUTPUT
if ((info->io.midiIns != 1 && info->io.audioIns != 0 && info->io.audioOuts != 0) || info->io.midiOuts != 1)


Loading…
Cancel
Save