aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-sampler.lv2/sampler.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-16 14:20:59 +0000
committerDavid Robillard <d@drobilla.net>2012-03-16 14:20:59 +0000
commit76db28f38dc47d096d8e055030e866630d643849 (patch)
tree0282f29e3a88dc22de6a35935f6c43d3c524772a /plugins/eg-sampler.lv2/sampler.c
parent8a4485764e3ad67715b9043e6b7e3d3f7cd4eecf (diff)
downloadlv2-76db28f38dc47d096d8e055030e866630d643849.tar.xz
Update for patch extension.
Diffstat (limited to 'plugins/eg-sampler.lv2/sampler.c')
-rw-r--r--plugins/eg-sampler.lv2/sampler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/eg-sampler.lv2/sampler.c b/plugins/eg-sampler.lv2/sampler.c
index d29f319..ec59ef3 100644
--- a/plugins/eg-sampler.lv2/sampler.c
+++ b/plugins/eg-sampler.lv2/sampler.c
@@ -41,7 +41,7 @@
#include "lv2/lv2plug.in/ns/ext/atom/forge.h"
#include "lv2/lv2plug.in/ns/ext/atom/util.h"
-#include "lv2/lv2plug.in/ns/ext/message/message.h"
+#include "lv2/lv2plug.in/ns/ext/patch/patch.h"
#include "lv2/lv2plug.in/ns/ext/state/state.h"
#include "lv2/lv2plug.in/ns/ext/urid/urid.h"
#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
@@ -340,7 +340,7 @@ run(LV2_Handle instance,
}
} else if (is_object_type(uris, ev->body.type)) {
const LV2_Atom_Object* obj = (LV2_Atom_Object*)&ev->body;
- if (obj->body.otype == uris->msg_Set) {
+ if (obj->body.otype == uris->patch_Set) {
/* Received a set message, send it to the worker thread. */
fprintf(stderr, "Queueing set message\n");
zix_ring_write(plugin->to_worker,