From 7ba0e78f659bf79c9884269e5d637d603af647ca Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 2 Nov 2014 07:05:41 +0000 Subject: Fix non-existent port type in examples. Add lv2:Parameter to domain of units:unit. --- lv2/lv2plug.in/ns/extensions/units/lv2-units.doap.ttl | 11 +++++++++++ lv2/lv2plug.in/ns/extensions/units/manifest.ttl | 2 +- lv2/lv2plug.in/ns/extensions/units/units.ttl | 7 ++++--- 3 files changed, 16 insertions(+), 4 deletions(-) (limited to 'lv2/lv2plug.in/ns/extensions/units') diff --git a/lv2/lv2plug.in/ns/extensions/units/lv2-units.doap.ttl b/lv2/lv2plug.in/ns/extensions/units/lv2-units.doap.ttl index 3390615..a4b5d8d 100644 --- a/lv2/lv2plug.in/ns/extensions/units/lv2-units.doap.ttl +++ b/lv2/lv2plug.in/ns/extensions/units/lv2-units.doap.ttl @@ -12,6 +12,17 @@ doap:homepage ; doap:license ; doap:release [ + doap:revision "5.9" ; + doap:created "2014-11-01" ; + dcs:blame ; + dcs:changeset [ + dcs:item [ + rdfs:label "Fix non-existent port type in examples." + ] , [ + rdfs:label "Add lv2:Parameter to domain of units:unit." + ] + ] + ] , [ doap:revision "5.8" ; doap:created "2012-10-14" ; doap:file-release ; diff --git a/lv2/lv2plug.in/ns/extensions/units/manifest.ttl b/lv2/lv2plug.in/ns/extensions/units/manifest.ttl index d92f4e7..bcff92d 100644 --- a/lv2/lv2plug.in/ns/extensions/units/manifest.ttl +++ b/lv2/lv2plug.in/ns/extensions/units/manifest.ttl @@ -4,6 +4,6 @@ a lv2:Specification ; lv2:minorVersion 5 ; - lv2:microVersion 8 ; + lv2:microVersion 9 ; rdfs:seeAlso . diff --git a/lv2/lv2plug.in/ns/extensions/units/units.ttl b/lv2/lv2plug.in/ns/extensions/units/units.ttl index e38728b..b78aa89 100644 --- a/lv2/lv2plug.in/ns/extensions/units/units.ttl +++ b/lv2/lv2plug.in/ns/extensions/units/units.ttl @@ -19,7 +19,7 @@ @prefix eg: <http://example.org/> . eg:plugin lv2:port [ - a lv2:ControlRateInputPort ; + a lv2:ControlPort , lv2:InputPort ; lv2:datatype lv2:Float ; lv2:index 0 ; lv2:symbol "gain" ; @@ -32,7 +32,7 @@ eg:plugin lv2:port [ better display hints to hosts:

 eg:plugin lv2:port [
-    a            lv2:ControlRateInputPort ;
+    a            lv2:ControlPort , lv2:InputPort ;
     lv2:datatype lv2:Float ;
     lv2:index    0 ;
     lv2:symbol   "frob" ;
@@ -61,7 +61,8 @@ units:Unit
 units:unit
 	a rdf:Property ,
 		owl:ObjectProperty ;
-	rdfs:domain lv2:Port ;
+	rdfs:domain lv2:Port ,
+		lv2:Parameter ;
 	rdfs:range units:Unit ;
 	rdfs:label "unit" ;
 	rdfs:comment "Relates a port to the unit of its data" .
-- 
cgit v1.2.1