mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 20:26:30 +01:00
Fix compilation against svn lilv (const-correctness).
git-svn-id: svn://localhost/ardour2/branches/3.0@13851 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3d5f247263
commit
65da5a7cc2
1 changed files with 3 additions and 3 deletions
|
|
@ -214,7 +214,7 @@ struct LV2Plugin::Impl {
|
|||
/** 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);
|
||||
|
||||
const LilvPlugin* plugin;
|
||||
const LilvUI* ui;
|
||||
|
|
@ -1797,10 +1797,10 @@ LV2Plugin::latency_compute_run()
|
|||
deactivate();
|
||||
}
|
||||
|
||||
LilvPort*
|
||||
const LilvPort*
|
||||
LV2Plugin::Impl::designated_input (const char* uri, void** bufptrs[], void** bufptr)
|
||||
{
|
||||
LilvPort* port = NULL;
|
||||
const LilvPort* port = NULL;
|
||||
LilvNode* designation = lilv_new_uri(_world.world, uri);
|
||||
port = lilv_plugin_get_port_by_designation(
|
||||
plugin, _world.lv2_InputPort, designation);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue