Browse Source

Don't export midi outputs on lv2-plugin since it's not working yet

tags/1.9.6
falkTX 9 years ago
parent
commit
715752ca21
2 changed files with 6 additions and 0 deletions
  1. +2
    -0
      source/plugin/carla-lv2-export.cpp
  2. +4
    -0
      source/plugin/carla-lv2.cpp

+ 2
- 0
source/plugin/carla-lv2-export.cpp View File

@@ -352,6 +352,7 @@ static void writePluginFile(const NativePluginDescriptor* const pluginDesc)
text += " ] , [\n";
}

#if 0 // TODO
// -------------------------------------------------------------------
// MIDI outputs

@@ -381,6 +382,7 @@ static void writePluginFile(const NativePluginDescriptor* const pluginDesc)
else
text += " ] , [\n";
}
#endif

// -------------------------------------------------------------------
// Freewheel port


+ 4
- 0
source/plugin/carla-lv2.cpp View File

@@ -171,7 +171,9 @@ public:
else if (fDescriptor->hints & NATIVE_PLUGIN_USES_TIME)
fUI.portOffset += 1;

#if 0 // TODO
fUI.portOffset += desc->midiOuts;
#endif
fUI.portOffset += 1; // freewheel
fUI.portOffset += desc->audioIns;
fUI.portOffset += desc->audioOuts;
@@ -1157,6 +1159,7 @@ private:
}
}

#if 0 // TODO
for (uint32_t i=0; i < desc->midiOuts; ++i)
{
if (port == index++)
@@ -1165,6 +1168,7 @@ private:
return;
}
}
#endif

if (port == index++)
{


Loading…
Cancel
Save