Browse Source

Update some lv2 code

tags/1.9.4
falkTX 12 years ago
parent
commit
7205bca150
4 changed files with 572 additions and 537 deletions
  1. +3
    -1
      source/discovery/carla-discovery.pro
  2. +1
    -1
      source/includes/lv2/dynmanifest.h
  3. +2
    -0
      source/libs/lilv/lilv-0.14.4/lilv/lilvmm.hpp
  4. +566
    -535
      source/utils/carla_lv2_utils.hpp

+ 3
- 1
source/discovery/carla-discovery.pro View File

@@ -19,7 +19,8 @@ TEMPLATE = app
VERSION = 0.5.0

SOURCES = \
carla-discovery.cpp
carla-discovery.cpp \
../utils/carla_lv2_utils.hpp

HEADERS = \
../includes/carla_defines.hpp \
@@ -48,4 +49,5 @@ mingw {
LIBS += -static -mwindows
}

QMAKE_CFLAGS *= -std=c++0x
QMAKE_CXXFLAGS *= -std=c++0x

+ 1
- 1
source/includes/lv2/dynmanifest.h View File

@@ -27,7 +27,7 @@

#include <stdio.h>

#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
#include "lv2.h"

#define LV2_DYN_MANIFEST_URI "http://lv2plug.in/ns/ext/dynmanifest"



+ 2
- 0
source/libs/lilv/lilv-0.14.4/lilv/lilvmm.hpp View File

@@ -214,6 +214,7 @@ struct Plugin {
LILV_WRAP0(bool, plugin, is_replaced);
LILV_WRAP0(Nodes, plugin, get_extension_data);
LILV_WRAP0(UIs, plugin, get_uis);
LILV_WRAP1(Nodes, plugin, get_related, Node, type);

inline Port get_port_by_index(unsigned index) {
return Port(me, lilv_plugin_get_port_by_index(me, index));
@@ -323,6 +324,7 @@ struct World {
LILV_WRAP0(const LilvPluginClass*, world, get_plugin_class);
LILV_WRAP0(const LilvPluginClasses*, world, get_plugin_classes);
LILV_WRAP0(const Plugins, world, get_all_plugins);
LILV_WRAP1(int, world, load_resource, const LilvNode*, resource);

LilvWorld* me;
};


+ 566
- 535
source/utils/carla_lv2_utils.hpp
File diff suppressed because it is too large
View File


Loading…
Cancel
Save