aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lvz/gui_wrapper.cpp6
-rw-r--r--lvz/wrapper.cpp2
-rw-r--r--vstgui/vstgui.h1
3 files changed, 4 insertions, 5 deletions
diff --git a/lvz/gui_wrapper.cpp b/lvz/gui_wrapper.cpp
index ca2b894..cd8dc24 100644
--- a/lvz/gui_wrapper.cpp
+++ b/lvz/gui_wrapper.cpp
@@ -105,13 +105,13 @@ mda_ui_instantiate(const struct _LV2UI_Descriptor* descriptor,
if (features != NULL) {
const LV2_Feature* feature = features[0];
for (size_t i = 0; (feature = features[i]) != NULL; ++i) {
- if (!strcmp(feature->URI, "http://lv2plug.in/ns/ext/dev/plugin-instance")) {
+ if (!strcmp(feature->URI, "http://lv2plug.in/ns/ext/instance-access")) {
instance = (LV2_Handle)feature->data;
- } else if (!strcmp(feature->URI, "http://lv2plug.in/ns/ext/dev/extension-data")) {
+ } else if (!strcmp(feature->URI, "http://lv2plug.in/ns/ext/data-access")) {
LV2_ExtensionData* ext_data = (LV2_ExtensionData*)feature->data;
extension_data_func func = (extension_data_func)feature->data;
get_effect = (get_effect_func)ext_data->extension_data(
- "http://lv2plug.in/ns/ext/dev/vstgui");
+ "http://drobilla.net/ns/dev/vstgui");
}
}
}
diff --git a/lvz/wrapper.cpp b/lvz/wrapper.cpp
index 82a6989..5a2d8fe 100644
--- a/lvz/wrapper.cpp
+++ b/lvz/wrapper.cpp
@@ -155,7 +155,7 @@ mda_get_audioeffectx(LV2_Handle instance)
static const void*
mda_extension_data(const char* uri)
{
- if (!strcmp(uri, "http://lv2plug.in/ns/ext/dev/vstgui")) {
+ if (!strcmp(uri, "http://drobilla.net/ns/dev/vstgui")) {
// FIXME: shouldn't return function pointers directly
return (const void*)mda_get_audioeffectx;
} else {
diff --git a/vstgui/vstgui.h b/vstgui/vstgui.h
index 2ab0e7d..22fcb84 100644
--- a/vstgui/vstgui.h
+++ b/vstgui/vstgui.h
@@ -50,7 +50,6 @@
// define global defines
#define MOTIF 1
#define PNG 1
-#define DEBUG 1
#include "audioeffectx.h"
#include <X11/Xlib.h>