Browse Source

More LV2 work, basic FX load now

tags/1.9.4
falkTX 11 years ago
parent
commit
4f61f344e2
7 changed files with 1383 additions and 145 deletions
  1. +1
    -1
      source/backend/plugin/BridgePlugin.cpp
  2. +2
    -2
      source/backend/plugin/DssiPlugin.cpp
  3. +1
    -1
      source/backend/plugin/LadspaPlugin.cpp
  4. +1375
    -137
      source/backend/plugin/Lv2Plugin.cpp
  5. +1
    -1
      source/backend/plugin/NativePlugin.cpp
  6. +1
    -1
      source/backend/plugin/VstPlugin.cpp
  7. +2
    -2
      source/includes/lv2_rdf.hpp

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

@@ -426,7 +426,7 @@ public:
if (fInfo.mOuts > 0)
needsCtrlOut = true;

const uint portNameSize = kData->engine->maxPortNameSize();
const uint portNameSize(kData->engine->maxPortNameSize());
CarlaString portName;

// Audio Ins


+ 2
- 2
source/backend/plugin/DssiPlugin.cpp View File

@@ -350,7 +350,7 @@ public:
else if (index > static_cast<int32_t>(kData->midiprog.count))
return;

if (index >= 0)
if (index >= 0 && fDssiDescriptor != nullptr && fDssiDescriptor->select_program != nullptr)
{
const uint32_t bank = kData->midiprog.data[index].bank;
const uint32_t program = kData->midiprog.data[index].program;
@@ -505,7 +505,7 @@ public:
fParamBuffers[i] = 0.0f;
}

const uint portNameSize = kData->engine->maxPortNameSize();
const uint portNameSize(kData->engine->maxPortNameSize());
CarlaString portName;

for (uint32_t i=0, iAudioIn=0, iAudioOut=0, iCtrl=0; i < portCount; ++i)


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

@@ -491,7 +491,7 @@ public:
fParamBuffers[i] = 0.0f;
}

const uint portNameSize = kData->engine->maxPortNameSize();
const uint portNameSize(kData->engine->maxPortNameSize());
CarlaString portName;

for (uint32_t i=0, iAudioIn=0, iAudioOut=0, iCtrl=0; i < portCount; ++i)


+ 1375
- 137
source/backend/plugin/Lv2Plugin.cpp
File diff suppressed because it is too large
View File


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

@@ -757,7 +757,7 @@ public:
kData->param.createNew(params);
}

const uint portNameSize = kData->engine->maxPortNameSize();
const uint portNameSize(kData->engine->maxPortNameSize());
CarlaString portName;

// Audio Ins


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

@@ -536,7 +536,7 @@ public:
needsCtrlIn = true;
}

const uint portNameSize = kData->engine->maxPortNameSize();
const uint portNameSize(kData->engine->maxPortNameSize());
CarlaString portName;

// Audio Ins


+ 2
- 2
source/includes/lv2_rdf.hpp View File

@@ -312,8 +312,8 @@ struct LV2_RDF_PortPoints {
Minimum(0.0f),
Maximum(1.0f) {}

LV2_RDF_PortPoints(LV2_RDF_PortPoints&) = delete;
LV2_RDF_PortPoints(const LV2_RDF_PortPoints&) = delete;
//LV2_RDF_PortPoints(LV2_RDF_PortPoints&) = delete;
//LV2_RDF_PortPoints(const LV2_RDF_PortPoints&) = delete;
};

// Port Unit


Loading…
Cancel
Save