| @@ -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 | ||||
| @@ -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 | ||||
| @@ -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; | ||||