mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-19 03:45:47 +01:00
fix const-correctness for current lilv
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@14072 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2298c18dba
commit
4ce89b5178
2 changed files with 3 additions and 3 deletions
|
|
@ -154,7 +154,7 @@ class LV2Plugin : public ARDOUR::Plugin
|
|||
/** Find the LV2 input port with the given designation.
|
||||
* If found, bufptrs[port_index] will be set to bufptr.
|
||||
*/
|
||||
LilvPort* designated_input (const char* uri, void** bufptrs[], void** bufptr);
|
||||
const LilvPort* designated_input (const char* uri, void** bufptrs[], void** bufptr);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -644,10 +644,10 @@ LV2Plugin::latency_compute_run ()
|
|||
deactivate ();
|
||||
}
|
||||
|
||||
LilvPort*
|
||||
const LilvPort*
|
||||
LV2Plugin::designated_input (const char* uri, void** bufptrs[], void** bufptr)
|
||||
{
|
||||
LilvPort* port = NULL;
|
||||
const LilvPort* port = NULL;
|
||||
#ifdef HAVE_NEW_LILV
|
||||
LilvNode* designation = lilv_new_uri(_world.world, uri);
|
||||
port = lilv_plugin_get_port_by_designation(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue