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/units.ttl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lv2/lv2plug.in/ns/extensions/units/units.ttl') 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