summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-09 05:00:23 +0000
committerDavid Robillard <d@drobilla.net>2011-11-09 05:00:23 +0000
commitace240c59b4d687118950f8107ec3ed3e1e04ece (patch)
tree6cd5f00b510e8b70a8b319cdbbf84a06a72b4d80 /src/server
parentaf376456335423225fbcf897c1b3e676abdf3ba0 (diff)
downloadingen-ace240c59b4d687118950f8107ec3ed3e1e04ece.tar.gz
ingen-ace240c59b4d687118950f8107ec3ed3e1e04ece.tar.bz2
ingen-ace240c59b4d687118950f8107ec3ed3e1e04ece.zip
Update for changes in LV2 SVN.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3608 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r--src/server/LV2Node.cpp6
-rw-r--r--src/server/PortImpl.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp
index 1dc64aaa..91226c7b 100644
--- a/src/server/LV2Node.cpp
+++ b/src/server/LV2Node.cpp
@@ -152,7 +152,7 @@ LV2Node::instantiate(BufferFactory& bufs)
uint32_t port_buffer_size = 0;
LilvNode* ctx_ext_uri = lilv_new_uri(info->lv2_world(),
- LV2_CONTEXTS_URI "#MessageContext");
+ LV2_CONTEXTS_URI "#messageContext");
for (uint32_t i = 0; i < _polyphony; ++i) {
(*_instances)[i] = SharedPtr<void>(
@@ -169,7 +169,7 @@ LV2Node::instantiate(BufferFactory& bufs)
continue;
const void* ctx_ext = lilv_instance_get_extension_data(
- instance(i), LV2_CONTEXTS_URI "#MessageContext");
+ instance(i), LV2_CONTEXTS_URI "#messageContext");
if (i == 0 && ctx_ext) {
assert(!_message_funcs);
@@ -321,7 +321,7 @@ LV2Node::instantiate(BufferFactory& bufs)
LILV_FOREACH(nodes, i, contexts) {
const LilvNode* c = lilv_nodes_get(contexts, i);
const char* context = lilv_node_as_string(c);
- if (!strcmp(LV2_CONTEXTS_URI "#MessageContext", context)) {
+ if (!strcmp(LV2_CONTEXTS_URI "#messageContext", context)) {
if (!_message_funcs) {
warn << _lv2_plugin->uri()
<< " has a message port, but no context extension data." << endl;
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index a5f74f27..2aef6f5e 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -246,7 +246,7 @@ PortImpl::set_context(Context::ID c)
remove_property(uris.ctx_context, uris.wildcard);
break;
case Context::MESSAGE:
- set_property(uris.ctx_context, uris.ctx_MessageContext);
+ set_property(uris.ctx_context, uris.ctx_messageContext);
break;
}
}