aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-06 20:42:19 +0000
committerDavid Robillard <d@drobilla.net>2012-04-06 20:42:19 +0000
commit959cf5cf99f3fa06f00f1c86040c7f3290216311 (patch)
tree33e320778dd8ffde24d22df4357d3978eaf9b369
parent5cfdbb636421eab1ed98f7d65d502ce5fc28911f (diff)
downloadlv2-959cf5cf99f3fa06f00f1c86040c7f3290216311.tar.xz
Add missing definition of ui:portSubscribe feature.
-rw-r--r--lv2/lv2plug.in/ns/extensions/ui/ui.h1
-rw-r--r--lv2/lv2plug.in/ns/extensions/ui/ui.ttl13
2 files changed, 13 insertions, 1 deletions
diff --git a/lv2/lv2plug.in/ns/extensions/ui/ui.h b/lv2/lv2plug.in/ns/extensions/ui/ui.h
index 56e9455..6dcb8e4 100644
--- a/lv2/lv2plug.in/ns/extensions/ui/ui.h
+++ b/lv2/lv2plug.in/ns/extensions/ui/ui.h
@@ -44,6 +44,7 @@
#define LV2_UI__portIndex LV2_UI_PREFIX "portIndex"
#define LV2_UI__portMap LV2_UI_PREFIX "portMap"
#define LV2_UI__portNotification LV2_UI_PREFIX "portNotification"
+#define LV2_UI__portSubscribe LV2_UI_PREFIX "portSubscribe"
#define LV2_UI__resize LV2_UI_PREFIX "resize"
#define LV2_UI__touch LV2_UI_PREFIX "touch"
diff --git a/lv2/lv2plug.in/ns/extensions/ui/ui.ttl b/lv2/lv2plug.in/ns/extensions/ui/ui.ttl
index 6a62366..f9a7a64 100644
--- a/lv2/lv2plug.in/ns/extensions/ui/ui.ttl
+++ b/lv2/lv2plug.in/ns/extensions/ui/ui.ttl
@@ -294,6 +294,17 @@ they control. This feature corresponds to the LV2UI_Port_Index struct, which
should be passed with the URI LV2_UI__portIndex.</p>
""" .
+ui:portSubscribe
+ a lv2:Feature ;
+ lv2:documentation """
+<p>A feature for dynamically subscribing to updates from a port. This makes it
+possible for a UI to explicitly request a particular style of update from a
+port at run-time, in a more flexible and powerful way than listing
+subscriptions statically allows. This feature corresponds to the
+LV2UI_Port_Subscribe struct, which should be passed with the URI
+LV2_UI__portSubscribe.</p>
+""" .
+
ui:touch
a lv2:Feature ;
lv2:documentation """
@@ -302,7 +313,7 @@ control. This is useful for automation, so the host can allow the user to take
control of a port, even if that port would otherwise be automated (much like
grabbing a physical morotised fader). It can also be used for MIDI learn or in
any other situation where the host needs to do something with a particular
-control and it would be convenient for the user to select it directroy from the
+control and it would be convenient for the user to select it directly from the
plugin UI. This feature corresponds to the LV2UI_Touch struct, which
should be passed with the URI LV2_UI__touch.</p>
""" .