projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5de6c21
)
Fix compilation against older LV2.
author
David Robillard
<d@drobilla.net>
Sat, 1 Nov 2014 01:03:12 +0000
(21:03 -0400)
committer
David Robillard
<d@drobilla.net>
Sat, 1 Nov 2014 01:03:12 +0000
(21:03 -0400)
libs/ardour/lv2_plugin.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/lv2_plugin.cc
b/libs/ardour/lv2_plugin.cc
index 6805391d1983e1600887c8a44a6500e2fc1f8867..30b00df497f726af0521c815148b037410f0ec80 100644
(file)
--- a/
libs/ardour/lv2_plugin.cc
+++ b/
libs/ardour/lv2_plugin.cc
@@
-1370,7
+1370,11
@@
LV2Plugin::announce_property_values()
lv2_atom_forge_set_buffer(forge, buf, sizeof(buf));
// 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);
+#else
+ lv2_atom_forge_blank(forge, &frame, 1, LV2Plugin::urids.patch_Get);
+#endif
// Write message to UI=>Plugin ring
const LV2_Atom* const atom = (const LV2_Atom*)buf;