diff options
author | David Robillard <d@drobilla.net> | 2012-02-26 22:20:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-02-26 22:20:40 +0000 |
commit | 72e3c06d3a6b2558e5e156f917e1c28441819417 (patch) | |
tree | 2a82d6701e1a2e75fd1d3d38eb11fbc7fc8b5fce /src/port.c | |
parent | e1624b6435b3392ed03b8b5d4751cfeb53eb1f61 (diff) | |
download | lilv-72e3c06d3a6b2558e5e156f917e1c28441819417.tar.gz lilv-72e3c06d3a6b2558e5e156f917e1c28441819417.tar.bz2 lilv-72e3c06d3a6b2558e5e156f917e1c28441819417.zip |
Add lilv_plugin_get_port_by_property() and lilv_port_get_index() as an improved generic alternative to lilv_plugin_get_latency_port_index().
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4001 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/port.c')
-rw-r--r-- | src/port.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -131,6 +131,14 @@ lilv_port_get_value(const LilvPlugin* p, } LILV_API +uint32_t +lilv_port_get_index(const LilvPlugin* p, + const LilvPort* port) +{ + return port->index; +} + +LILV_API const LilvNode* lilv_port_get_symbol(const LilvPlugin* p, const LilvPort* port) |