summaryrefslogtreecommitdiffstats
path: root/lilv
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-28 18:13:00 +0000
committerDavid Robillard <d@drobilla.net>2012-02-28 18:13:00 +0000
commitfd8ecd85b21e104e669017a04076a60162420a53 (patch)
tree9132fd8c68dd44a1ba9906b44ca5a545f35fbd0c /lilv
parentd175e2de6d3b51dfa1af5ea95bdad6e8c97df795 (diff)
downloadlilv-fd8ecd85b21e104e669017a04076a60162420a53.tar.gz
lilv-fd8ecd85b21e104e669017a04076a60162420a53.tar.bz2
lilv-fd8ecd85b21e104e669017a04076a60162420a53.zip
Update for latest lv2core.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4004 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'lilv')
-rw-r--r--lilv/lilv.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h
index fb9a7d9..6e0a392 100644
--- a/lilv/lilv.h
+++ b/lilv/lilv.h
@@ -899,14 +899,16 @@ lilv_plugin_get_port_by_symbol(const LilvPlugin* plugin,
const LilvNode* symbol);
/**
- Get a port on @c plugin by the lv2:relation it represents.
- If the plugin has multiple ports with the same relation (which it should
- not), the one with the lowest index will be returned.
+ Get a port on @c plugin by the parameter it represents.
+ If found, the port with matching @a port_class and @a parameter is be
+ returned, otherwise NULL is returned. The @a port_class can be used to
+ distinguish the input and output ports for a parameter.
*/
LILV_API
LilvPort*
-lilv_plugin_get_port_by_relation(const LilvPlugin* plugin,
- const LilvNode* relation);
+lilv_plugin_get_port_by_parameter(const LilvPlugin* plugin,
+ const LilvNode* port_class,
+ const LilvNode* parameter);
/**
Get the full name of the plugin's author.