diff options
Diffstat (limited to 'src/engine/PortImpl.cpp')
-rw-r--r-- | src/engine/PortImpl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/PortImpl.cpp b/src/engine/PortImpl.cpp index 6ee4c0e1..c7371aec 100644 --- a/src/engine/PortImpl.cpp +++ b/src/engine/PortImpl.cpp @@ -76,8 +76,9 @@ PortImpl::PortImpl(BufferFactory& bufs, else _polyphonic = true; - add_property("http://www.w3.org/1999/02/22-rdf-syntax-ns#type", type.uri()); - set_property("http://lv2plug.in/ns/lv2core#index", Atom((int32_t)index)); + const LV2URIMap& uris = Shared::LV2URIMap::instance(); + add_property(uris.rdf_type, type.uri()); + set_property(uris.lv2_index, Atom((int32_t)index)); set_context(_context); if (type == PortType::EVENTS) |