diff options
author | David Robillard <d@drobilla.net> | 2009-05-28 02:48:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-28 02:48:23 +0000 |
commit | f2c45c3f5b1f6c06d351ed91223343cd3a69ab4b (patch) | |
tree | 757a86fb2aac3de4d53c6d081ac3c218d97edc25 /src/engine/PortImpl.cpp | |
parent | c9a25fcc6150290790457f837355735b513b7239 (diff) | |
download | ingen-f2c45c3f5b1f6c06d351ed91223343cd3a69ab4b.tar.gz ingen-f2c45c3f5b1f6c06d351ed91223343cd3a69ab4b.tar.bz2 ingen-f2c45c3f5b1f6c06d351ed91223343cd3a69ab4b.zip |
Fix URIs.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2018 a436a847-0d15-0410-975c-d299462d15a1
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); } |