summaryrefslogtreecommitdiffstats
path: root/src/engine/OutputPort.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-03-06 10:23:19 +0000
committerDavid Robillard <d@drobilla.net>2010-03-06 10:23:19 +0000
commit059f20c9666234f2be01498ee04f1e7ee795ba8f (patch)
treeef0d53073d53012aeaa7d084fccf477b166c0684 /src/engine/OutputPort.cpp
parent085a451dfec54126be1b9346899c81d82e6eb58e (diff)
downloadingen-059f20c9666234f2be01498ee04f1e7ee795ba8f.tar.gz
ingen-059f20c9666234f2be01498ee04f1e7ee795ba8f.tar.bz2
ingen-059f20c9666234f2be01498ee04f1e7ee795ba8f.zip
Save Ingen patches as working standard LV2 plugin bundles.
This allows you to create an Ingen patch in Ingen running as a Jack client, save it, then load that patch as an LV2 plugin in any LV2 compliant host. Eliminate (hopefully) all static data in the engine (for multiple instantiations in a single process). More API/ABI stable interface for Ingen::Shared::World. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2533 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/OutputPort.cpp')
-rw-r--r--src/engine/OutputPort.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/engine/OutputPort.cpp b/src/engine/OutputPort.cpp
index 5509b655..8faefb3e 100644
--- a/src/engine/OutputPort.cpp
+++ b/src/engine/OutputPort.cpp
@@ -39,10 +39,8 @@ OutputPort::OutputPort(BufferFactory& bufs,
size_t buffer_size)
: PortImpl(bufs, parent, symbol, index, poly, type, value, buffer_size)
{
- const LV2URIMap& uris = Shared::LV2URIMap::instance();
-
if (!dynamic_cast<Patch*>(parent))
- add_property(uris.rdf_type, uris.lv2_OutputPort);
+ add_property(bufs.uris().rdf_type, bufs.uris().lv2_OutputPort);
if (type == PortType::CONTROL)
_broadcast = true;