diff options
Diffstat (limited to 'src/server/PortImpl.cpp')
-rw-r--r-- | src/server/PortImpl.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp index dfd24dc0..8dd6d96a 100644 --- a/src/server/PortImpl.cpp +++ b/src/server/PortImpl.cpp @@ -77,7 +77,14 @@ PortImpl::PortImpl(BufferFactory& bufs, set_property(uris.ingen_value, value); } if (type == PortType::ATOM) { - add_property(uris.atom_bufferType, bufs.forge().make_urid(buffer_type)); + add_property(uris.atom_bufferType, + bufs.forge().make_urid(buffer_type)); + if (block->graph_type() == Ingen::Node::GRAPH) { + add_property(uris.atom_supports, + bufs.forge().make_urid(uris.midi_MidiEvent)); + add_property(uris.atom_supports, + bufs.forge().make_urid(uris.time_Position)); + } } } |