From d6b87aa26ef482a8952437f7472b81a2240f01fd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 21 Jan 2008 15:14:53 +0000 Subject: Work on generic LV2 events. git-svn-id: http://svn.drobilla.net/lad/ingen@1090 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/NodeFactory.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/libs/engine/NodeFactory.cpp') diff --git a/src/libs/engine/NodeFactory.cpp b/src/libs/engine/NodeFactory.cpp index 8312a221..eb414978 100644 --- a/src/libs/engine/NodeFactory.cpp +++ b/src/libs/engine/NodeFactory.cpp @@ -48,6 +48,9 @@ namespace Ingen { NodeFactory::NodeFactory(Ingen::Shared::World* world) : _world(world) , _has_loaded(false) +#ifdef HAVE_SLV2 + , _lv2_info(new LV2Info(world->slv2_world)) +#endif { } @@ -182,7 +185,7 @@ NodeFactory::load_lv2_plugins() assert(_plugins.find(uri) == _plugins.end()); #endif - LV2Plugin* const plugin = new LV2Plugin(uri); + LV2Plugin* const plugin = new LV2Plugin(_lv2_info, uri); plugin->slv2_plugin(lv2_plug); plugin->library_path(slv2_uri_to_path(slv2_plugin_get_library_uri(lv2_plug))); -- cgit v1.2.1