diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server/PortImpl.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp index 3f265636..698cd458 100644 --- a/src/server/PortImpl.cpp +++ b/src/server/PortImpl.cpp @@ -71,9 +71,14 @@ PortImpl::PortImpl(BufferFactory& bufs, set_type(type, buffer_type); - add_property(uris.atom_bufferType, bufs.forge().make_urid(buffer_type)); add_property(uris.rdf_type, bufs.forge().alloc_uri(type.uri())); set_property(uris.lv2_index, bufs.forge().make((int32_t)index)); + if (value.is_valid()) { + set_property(uris.ingen_value, value); + } + if (type == PortType::ATOM) { + add_property(uris.atom_bufferType, bufs.forge().make_urid(buffer_type)); + } } PortImpl::~PortImpl() |