mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Fix compilation against older LV2.
This commit is contained in:
parent
5de6c21ec1
commit
c855d17e09
1 changed files with 4 additions and 0 deletions
|
|
@ -1370,7 +1370,11 @@ LV2Plugin::announce_property_values()
|
||||||
lv2_atom_forge_set_buffer(forge, buf, sizeof(buf));
|
lv2_atom_forge_set_buffer(forge, buf, sizeof(buf));
|
||||||
|
|
||||||
// Serialize patch:Get message with no subject (implicitly plugin instance)
|
// Serialize patch:Get message with no subject (implicitly plugin instance)
|
||||||
|
#ifdef HAVE_LV2_1_10_0
|
||||||
lv2_atom_forge_object(forge, &frame, 1, LV2Plugin::urids.patch_Get);
|
lv2_atom_forge_object(forge, &frame, 1, LV2Plugin::urids.patch_Get);
|
||||||
|
#else
|
||||||
|
lv2_atom_forge_blank(forge, &frame, 1, LV2Plugin::urids.patch_Get);
|
||||||
|
#endif
|
||||||
|
|
||||||
// Write message to UI=>Plugin ring
|
// Write message to UI=>Plugin ring
|
||||||
const LV2_Atom* const atom = (const LV2_Atom*)buf;
|
const LV2_Atom* const atom = (const LV2_Atom*)buf;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue