From d175e2de6d3b51dfa1af5ea95bdad6e8c97df795 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 27 Feb 2012 23:30:54 +0000 Subject: Implement lv2:relation. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4002 a436a847-0d15-0410-975c-d299462d15a1 --- lilv/lilv.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'lilv/lilv.h') diff --git a/lilv/lilv.h b/lilv/lilv.h index f41a4a9..fb9a7d9 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -899,15 +899,14 @@ lilv_plugin_get_port_by_symbol(const LilvPlugin* plugin, const LilvNode* symbol); /** - Get a port on @c plugin by an lv2:PortProperty. - This function only makes sense for port properties which apply to a single - port per plugin (like lv2:reportsLatency). Otherwise, the matching port - with the lowest index will be returned. + 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. */ LILV_API LilvPort* -lilv_plugin_get_port_by_property(const LilvPlugin* plugin, - const LilvNode* port_property); +lilv_plugin_get_port_by_relation(const LilvPlugin* plugin, + const LilvNode* relation); /** Get the full name of the plugin's author. -- cgit v1.2.1