aboutsummaryrefslogtreecommitdiffstats
path: root/lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-05-09 20:16:39 +0000
committerDavid Robillard <d@drobilla.net>2013-05-09 20:16:39 +0000
commitdda54da26f30f848e6d2ed9d4c8c0c1d921bf5d0 (patch)
treec26865ca3d000158b31bd4ac6e830f9f0706d3ff /lv2
parent1f39eeb9ecca77912c481cb531e0f4a1a1f2e96a (diff)
downloadlv2-dda54da26f30f848e6d2ed9d4c8c0c1d921bf5d0.tar.xz
Add ui:updateRate property.
Diffstat (limited to 'lv2')
-rw-r--r--lv2/lv2plug.in/ns/extensions/ui/lv2-ui.doap.ttl4
-rw-r--r--lv2/lv2plug.in/ns/extensions/ui/ui.h1
-rw-r--r--lv2/lv2plug.in/ns/extensions/ui/ui.ttl5
3 files changed, 9 insertions, 1 deletions
diff --git a/lv2/lv2plug.in/ns/extensions/ui/lv2-ui.doap.ttl b/lv2/lv2plug.in/ns/extensions/ui/lv2-ui.doap.ttl
index 8d5a81d..03070b8 100644
--- a/lv2/lv2plug.in/ns/extensions/ui/lv2-ui.doap.ttl
+++ b/lv2/lv2plug.in/ns/extensions/ui/lv2-ui.doap.ttl
@@ -1,4 +1,4 @@
-@prefix dcs: <http://ontologi.es/doap-changeset#> .
+@prefix dcs: <http://ontologi.es/doap-changeset#> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@@ -18,6 +18,8 @@
dcs:changeset [
dcs:item [
rdfs:label "Add idle interface so native UIs and foreign toolkits can drive their event loops."
+ ] , [
+ rdfs:label "Add ui:updateRate property."
]
]
] , [
diff --git a/lv2/lv2plug.in/ns/extensions/ui/ui.h b/lv2/lv2plug.in/ns/extensions/ui/ui.h
index 2a9b28a..3ebddbb 100644
--- a/lv2/lv2plug.in/ns/extensions/ui/ui.h
+++ b/lv2/lv2plug.in/ns/extensions/ui/ui.h
@@ -53,6 +53,7 @@
#define LV2_UI__resize LV2_UI_PREFIX "resize"
#define LV2_UI__touch LV2_UI_PREFIX "touch"
#define LV2_UI__ui LV2_UI_PREFIX "ui"
+#define LV2_UI__updateRate LV2_UI_PREFIX "updateRate"
/**
The index returned by LV2_UI_Port_Port::port_index() for unknown ports.
diff --git a/lv2/lv2plug.in/ns/extensions/ui/ui.ttl b/lv2/lv2plug.in/ns/extensions/ui/ui.ttl
index 70cc93f..5423933 100644
--- a/lv2/lv2plug.in/ns/extensions/ui/ui.ttl
+++ b/lv2/lv2plug.in/ns/extensions/ui/ui.ttl
@@ -330,6 +330,11 @@ return a pointer to an LV2_UI_Idle_Interface.</p>
this URI, with NULL for data.</p>
""" .
+ui:updateRate
+ a rdf:Property ;
+ rdfs:range xsd:float ;
+ rdfs:comment "The target rate, in Hz, to send updates to the UI." .
+
ui:protocol
a rdf:Property ;
rdfs:domain ui:PortNotification ;