Browse Source

Misc

tags/1.9.4
falkTX 11 years ago
parent
commit
f4e346902c
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      source/backend/plugin/DssiPlugin.cpp
  2. +1
    -1
      source/backend/plugin/LadspaPlugin.cpp
  3. +2
    -2
      source/backend/plugin/Lv2Plugin.cpp

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

@@ -1952,7 +1952,7 @@ public:
pData->options |= PLUGIN_OPTION_SEND_ALL_SOUND_OFF; pData->options |= PLUGIN_OPTION_SEND_ALL_SOUND_OFF;


if (fDssiDescriptor->run_synth == nullptr) if (fDssiDescriptor->run_synth == nullptr)
carla_stderr2("WARNING: Plugin can ONLY use run_multiple_synths!");
carla_stderr("WARNING: Plugin can ONLY use run_multiple_synths!");
} }


// set identifier string // set identifier string


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

@@ -1271,7 +1271,7 @@ public:


void sampleRateChanged(const double newSampleRate) override void sampleRateChanged(const double newSampleRate) override
{ {
CARLA_ASSERT_INT(newSampleRate > 0.0, (int)newSampleRate);
CARLA_ASSERT_INT(newSampleRate > 0.0, newSampleRate);
carla_debug("LadspaPlugin::sampleRateChanged(%g) - start", newSampleRate); carla_debug("LadspaPlugin::sampleRateChanged(%g) - start", newSampleRate);


// TODO // TODO


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

@@ -598,7 +598,7 @@ public:
const LV2_Property portTypes(fRdfDescriptor->Ports[i].Types); const LV2_Property portTypes(fRdfDescriptor->Ports[i].Types);


if (LV2_IS_PORT_INPUT(portTypes) && LV2_PORT_SUPPORTS_MIDI_EVENT(portTypes)) if (LV2_IS_PORT_INPUT(portTypes) && LV2_PORT_SUPPORTS_MIDI_EVENT(portTypes))
count += 1;
++count;
} }


return count; return count;
@@ -615,7 +615,7 @@ public:
const LV2_Property portTypes(fRdfDescriptor->Ports[i].Types); const LV2_Property portTypes(fRdfDescriptor->Ports[i].Types);


if (LV2_IS_PORT_OUTPUT(portTypes) && LV2_PORT_SUPPORTS_MIDI_EVENT(portTypes)) if (LV2_IS_PORT_OUTPUT(portTypes) && LV2_PORT_SUPPORTS_MIDI_EVENT(portTypes))
count += 1;
++count;
} }


return count; return count;


Loading…
Cancel
Save