13
0

amend 311adde (LV2-1.0.0 compat)

This commit is contained in:
Robin Gareus 2015-10-26 13:24:23 +01:00
parent 8ab69cba58
commit 677531addb

View File

@ -266,7 +266,9 @@ struct LV2Plugin::Impl {
LV2_Atom_Forge forge; LV2_Atom_Forge forge;
LV2_Atom_Forge ui_forge; LV2_Atom_Forge ui_forge;
int32_t block_length; int32_t block_length;
#ifdef HAVE_LV2_1_2_0
LV2_Options_Option* options; LV2_Options_Option* options;
#endif
}; };
LV2Plugin::LV2Plugin (AudioEngine& engine, LV2Plugin::LV2Plugin (AudioEngine& engine,
@ -692,7 +694,9 @@ LV2Plugin::~LV2Plugin ()
lilv_state_free(_impl->state); lilv_state_free(_impl->state);
lilv_node_free(_impl->name); lilv_node_free(_impl->name);
lilv_node_free(_impl->author); lilv_node_free(_impl->author);
#ifdef HAVE_LV2_1_2_0
free(_impl->options); free(_impl->options);
#endif
free(_features); free(_features);
free(_make_path_feature.data); free(_make_path_feature.data);