diff options
author | David Robillard <d@drobilla.net> | 2012-02-27 23:30:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-02-27 23:30:54 +0000 |
commit | d175e2de6d3b51dfa1af5ea95bdad6e8c97df795 (patch) | |
tree | c074ce18bfd52b18d374fb5c59a1369a65576f2e /lilv | |
parent | 72e3c06d3a6b2558e5e156f917e1c28441819417 (diff) | |
download | lilv-d175e2de6d3b51dfa1af5ea95bdad6e8c97df795.tar.gz lilv-d175e2de6d3b51dfa1af5ea95bdad6e8c97df795.tar.bz2 lilv-d175e2de6d3b51dfa1af5ea95bdad6e8c97df795.zip |
Implement lv2:relation.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4002 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'lilv')
-rw-r--r-- | lilv/lilv.h | 11 |
1 files changed, 5 insertions, 6 deletions
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. |