From dda54da26f30f848e6d2ed9d4c8c0c1d921bf5d0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 May 2013 20:16:39 +0000 Subject: Add ui:updateRate property. --- lv2/lv2plug.in/ns/extensions/ui/lv2-ui.doap.ttl | 4 +++- lv2/lv2plug.in/ns/extensions/ui/ui.h | 1 + lv2/lv2plug.in/ns/extensions/ui/ui.ttl | 5 +++++ 3 files changed, 9 insertions(+), 1 deletion(-) (limited to 'lv2/lv2plug.in/ns/extensions/ui') 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: . +@prefix dcs: . @prefix doap: . @prefix foaf: . @prefix rdfs: . @@ -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.

this URI, with NULL for data.

""" . +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 ; -- cgit v1.2.1