diff options
author | David Robillard <d@drobilla.net> | 2008-11-09 01:32:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-11-09 01:32:38 +0000 |
commit | 5d1f579900182f283a1c21ad4e59daf7f035e219 (patch) | |
tree | e73066002177cf48a31eef91712aa74839dfc555 /src/engine/NodeFactory.cpp | |
parent | 23bb407a4f0db71eb15cbf8bbb8e82e02088a998 (diff) | |
download | ingen-5d1f579900182f283a1c21ad4e59daf7f035e219.tar.gz ingen-5d1f579900182f283a1c21ad4e59daf7f035e219.tar.bz2 ingen-5d1f579900182f283a1c21ad4e59daf7f035e219.zip |
Move patch to /patch via HTTP to give a place for RESTful access to other things.
Implement HTTP access to plugins.
Work towards client being able to use HTTP to connect.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1712 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/NodeFactory.cpp')
-rw-r--r-- | src/engine/NodeFactory.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine/NodeFactory.cpp b/src/engine/NodeFactory.cpp index 45da0a03..91f44a83 100644 --- a/src/engine/NodeFactory.cpp +++ b/src/engine/NodeFactory.cpp @@ -87,8 +87,7 @@ NodeFactory::plugin(const string& type, const string& lib, const string& label) #ifdef HAVE_LADSPA for (Plugins::const_iterator i = _plugins.begin(); i != _plugins.end(); ++i) { LADSPAPlugin* lp = dynamic_cast<LADSPAPlugin*>(i->second); - if (lp && lp->type_string() == type - && lp->library_name() == lib + if (lp && lp->library_name() == lib && lp->label() == label) return lp; } |