aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-01-25 20:05:49 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-01-25 20:05:49 +0100
commit90a4acfe8847c76c8c218eb57e76e243a607a1fc (patch)
tree8ad630d68fd827c6e185cfe64e1f94b32e992361
parent1ed0a8483153f8afaf753cf1212be48cff653aa9 (diff)
downloadjalv-90a4acfe8847c76c8c218eb57e76e243a607a1fc.tar.gz
jalv-90a4acfe8847c76c8c218eb57e76e243a607a1fc.tar.bz2
jalv-90a4acfe8847c76c8c218eb57e76e243a607a1fc.zip
Add ui:idleInterface to host UI features
To comply with: http://lv2plug.in/ns/extensions/ui/#idleInterface To indicate support, the host should pass a feature to instantiate() with this URI, with NULL for data.
-rw-r--r--src/jalv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jalv.c b/src/jalv.c
index 6a300b2..acc9d73 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -756,6 +756,9 @@ jalv_ui_instantiate(Jalv* jalv, const char* native_ui_type, void* parent)
const LV2_Feature data_feature = {
LV2_DATA_ACCESS_URI, &ext_data
};
+ const LV2_Feature idle_feature = {
+ LV2_UI__idleInterface, NULL
+ };
const LV2_Feature* ui_features[] = {
&uri_map_feature, &map_feature, &unmap_feature,
&instance_feature,
@@ -763,6 +766,7 @@ jalv_ui_instantiate(Jalv* jalv, const char* native_ui_type, void* parent)
&log_feature,
&parent_feature,
&options_feature,
+ &idle_feature,
NULL
};