@@ -26,7 +26,7 @@ | |||||
#include <stddef.h> | #include <stddef.h> | ||||
#include <stdint.h> | #include <stdint.h> | ||||
#include "lv2/lv2plug.in/ns/lv2core/lv2.h" | |||||
#include "lv2.h" | |||||
#define LV2_STATE_URI "http://lv2plug.in/ns/ext/state" | #define LV2_STATE_URI "http://lv2plug.in/ns/ext/state" | ||||
#define LV2_STATE_PREFIX LV2_STATE_URI "#" | #define LV2_STATE_PREFIX LV2_STATE_URI "#" | ||||
@@ -26,7 +26,7 @@ | |||||
#include <stdint.h> | #include <stdint.h> | ||||
#include "lv2/lv2plug.in/ns/lv2core/lv2.h" | |||||
#include "lv2.h" | |||||
#define LV2_UI_URI "http://lv2plug.in/ns/extensions/ui" | #define LV2_UI_URI "http://lv2plug.in/ns/extensions/ui" | ||||
#define LV2_UI_PREFIX LV2_UI_URI "#" | #define LV2_UI_PREFIX LV2_UI_URI "#" | ||||
@@ -100,10 +100,8 @@ def CustomDataType2String(dtype): | |||||
elif (dtype == CUSTOM_DATA_FLOAT): | elif (dtype == CUSTOM_DATA_FLOAT): | ||||
return "float" | return "float" | ||||
elif (dtype == CUSTOM_DATA_STRING): | elif (dtype == CUSTOM_DATA_STRING): | ||||
print("Carla requiested type save - string", dtype) | |||||
return "string" | return "string" | ||||
elif (dtype == CUSTOM_DATA_BINARY): | elif (dtype == CUSTOM_DATA_BINARY): | ||||
print("Carla requiested type save - binary", dtype) | |||||
return "binary" | return "binary" | ||||
else: | else: | ||||
return "null" | return "null" | ||||
@@ -1986,7 +1986,7 @@ public: | |||||
for (i=0; i < rdf_descriptor->PortCount; i++) | for (i=0; i < rdf_descriptor->PortCount; i++) | ||||
{ | { | ||||
LV2_Property PortType = rdf_descriptor->Ports[i].Type; | LV2_Property PortType = rdf_descriptor->Ports[i].Type; | ||||
if (bool(LV2_IS_PORT_AUDIO(PortType) || LV2_IS_PORT_CONTROL(PortType) || LV2_IS_PORT_EVENT(PortType) || LV2_IS_PORT_MIDI_LL(PortType)) == false) | |||||
if (bool(LV2_IS_PORT_AUDIO(PortType) || LV2_IS_PORT_CONTROL(PortType) || LV2_IS_PORT_ATOM_SEQUENCE(PortType) || LV2_IS_PORT_EVENT(PortType) || LV2_IS_PORT_MIDI_LL(PortType)) == false) | |||||
{ | { | ||||
qCritical("Got unsupported port -> %i", PortType); | qCritical("Got unsupported port -> %i", PortType); | ||||
if (! LV2_IS_PORT_OPTIONAL(rdf_descriptor->Ports[i].Properties)) | if (! LV2_IS_PORT_OPTIONAL(rdf_descriptor->Ports[i].Properties)) | ||||