Browse Source

Fix build

tags/v0.9.0
falkTX 13 years ago
parent
commit
c533e3105c
4 changed files with 3 additions and 5 deletions
  1. +1
    -1
      src/carla-includes/lv2/state.h
  2. +1
    -1
      src/carla-includes/lv2/ui.h
  3. +0
    -2
      src/carla.py
  4. +1
    -1
      src/carla/lv2.cpp

+ 1
- 1
src/carla-includes/lv2/state.h View File

@@ -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 "#"


+ 1
- 1
src/carla-includes/lv2/ui.h View File

@@ -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 "#"


+ 0
- 2
src/carla.py View File

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


+ 1
- 1
src/carla/lv2.cpp View File

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


Loading…
Cancel
Save