From a48ca719b7261a078cb6635f950975a38b8605c3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Nov 2012 04:58:29 +0000 Subject: Set atom:supports properties for patch event inputs. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4832 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/PortImpl.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/server') 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)); + } } } -- cgit v1.2.1