From fd8ecd85b21e104e669017a04076a60162420a53 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 28 Feb 2012 18:13:00 +0000 Subject: Update for latest lv2core. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4004 a436a847-0d15-0410-975c-d299462d15a1 --- lilv/lilv.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'lilv') 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. -- cgit v1.2.1