diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/PortModel.cpp | 2 | ||||
-rw-r--r-- | src/gui/Port.cpp | 2 | ||||
-rw-r--r-- | src/server/LV2Node.cpp | 6 | ||||
-rw-r--r-- | src/server/PortImpl.cpp | 2 | ||||
-rw-r--r-- | src/shared/URIs.cpp | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp index c017287f..55051bf1 100644 --- a/src/client/PortModel.cpp +++ b/src/client/PortModel.cpp @@ -64,7 +64,7 @@ bool PortModel::has_context(const Raul::URI& uri) const { const Raul::Atom& context = get_property(_uris.ctx_context); - if (uri == _uris.ctx_AudioContext && !context.is_valid()) + if (uri == _uris.ctx_audioContext && !context.is_valid()) return true; else return context == uri; diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index abe22507..f4c00b15 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -285,7 +285,7 @@ Port::dash() if (!pm) return NULL; - if (pm->has_context(uris.ctx_AudioContext)) + if (pm->has_context(uris.ctx_audioContext)) return NULL; if (!_dash) { 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; } } diff --git a/src/shared/URIs.cpp b/src/shared/URIs.cpp index 869aa26e..cd578846 100644 --- a/src/shared/URIs.cpp +++ b/src/shared/URIs.cpp @@ -64,9 +64,9 @@ URIs::URIs() , atom_ValuePort (LV2_ATOM_URI "#ValuePort") , atom_Vector (LV2_ATOM_URI "#Vector") , atom_supports (LV2_ATOM_URI "#supports") - , ctx_AudioContext (NS_CTX "AudioContext") - , ctx_MessageContext (NS_CTX "MessageContext") + , ctx_audioContext (NS_CTX "audioContext") , ctx_context (NS_CTX "context") + , ctx_messageContext (NS_CTX "messageContext") , doap_name ("http://usefulinc.com/ns/doap#name") , ev_EventPort ("http://lv2plug.in/ns/ext/event#EventPort") , ingen_Internal (NS_INGEN "Internal") |