diff options
Diffstat (limited to 'src/engine/PortImpl.cpp')
-rw-r--r-- | src/engine/PortImpl.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/engine/PortImpl.cpp b/src/engine/PortImpl.cpp index c81e797a..913bbc2e 100644 --- a/src/engine/PortImpl.cpp +++ b/src/engine/PortImpl.cpp @@ -66,16 +66,10 @@ PortImpl::PortImpl(NodeImpl* const node, else _polyphonic = true; - if (type == DataType::AUDIO) - add_property("rdf:type", Atom(Atom::URI, "lv2:AudioPort")); + add_property("rdf:type", Atom(Atom::URI, type.uri())); - if (type == DataType::CONTROL) - add_property("rdf:type", Atom(Atom::URI, "lv2:ControlPort")); - - if (type == DataType::EVENT) { - add_property("rdf:type", Atom(Atom::URI, "lv2ev:EventPort")); + if (type == DataType::EVENT) _broadcast = true; // send activity blips - } assert(_buffers->size() > 0); } |