diff options
author | Robin Gareus <robin@gareus.org> | 2020-02-15 14:15:29 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-02-15 14:15:29 +0100 |
commit | 2ac90f55984d5011904f1bafe212e91b0a9fd83c (patch) | |
tree | 3769540eeeb638a8515174d571e529b991a8c026 /gtk2_ardour/lv2_plugin_ui.cc | |
parent | 4c7cde0242bf47e682cca9190f956973923bcb2d (diff) |
LV2: disable unofficial LV2UI_Request_Parameter
This API is not official, and the upcoming official API differs.
The source-code is left in-place since most of it will be
re-usable as-is, regardless.
Diffstat (limited to 'gtk2_ardour/lv2_plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/lv2_plugin_ui.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc index 1e2de1e7b4..cd965a5513 100644 --- a/gtk2_ardour/lv2_plugin_ui.cc +++ b/gtk2_ardour/lv2_plugin_ui.cc @@ -340,12 +340,14 @@ LV2PluginUI::lv2ui_instantiate(const std::string& title) features[fi] = features_src[fi]; } +#if 0 _lv2ui_request_paramater.handle = this; _lv2ui_request_paramater.request = LV2PluginUI::request_parameter; _lv2ui_request_feature.URI = LV2_UI_PREFIX "requestParameter"; _lv2ui_request_feature.data = &_lv2ui_request_paramater; features[fi++] = &_lv2ui_request_feature; +#endif Gtk::Alignment* container = NULL; if (is_external_ui) { @@ -378,7 +380,7 @@ LV2PluginUI::lv2ui_instantiate(const std::string& title) } features[fi] = NULL; - assert (fi == features_count + (is_external_ui ? 3 : 2)); + assert (fi == features_count + (is_external_ui ? 2 : 1)); if (!ui_host) { ui_host = suil_host_new(LV2PluginUI::write_from_ui, |