aboutsummaryrefslogtreecommitdiffstats
path: root/ext/time.lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-03 22:36:43 +0000
committerDavid Robillard <d@drobilla.net>2011-11-03 22:36:43 +0000
commitd2fa4f8292a50b47864d561c33ced39c55c89254 (patch)
tree72e320a6cd7979c66941ce1203334617a57df227 /ext/time.lv2
parente8b25617db84184a2b299ef57f7c4295081b7576 (diff)
downloadlv2-d2fa4f8292a50b47864d561c33ced39c55c89254.tar.xz
Syntax highlight C and Turtle code in documentation.
Diffstat (limited to 'ext/time.lv2')
-rw-r--r--ext/time.lv2/time.ttl20
1 files changed, 11 insertions, 9 deletions
diff --git a/ext/time.lv2/time.ttl b/ext/time.lv2/time.ttl
index 88aa0cf..5d23991 100644
--- a/ext/time.lv2/time.ttl
+++ b/ext/time.lv2/time.ttl
@@ -41,14 +41,16 @@ time:Position
a rdfs:Class ;
rdfs:label "LV2 time position" ;
lv2:documentation """
-Type for an LV2_Time_Position struct. This can be mapped to an integer
-and used as the type field of an event to indicate that the event payload
-is an LV2_Time_Positon struct. Plugins can indicate that a port supports
-time information using the ev:supports predicate, e.g.:
-<pre>
- <plugin> lv2:port [
- a ev:EventPort ;
- ev:supports time:Position
- ]
+Type for an LV2_Time_Position struct. This can be mapped to an integer and
+used as the type field of an event to indicate that the event payload is an
+LV2_Time_Positon struct. Plugins SHOULD indicate that a port supports time
+information using the ev:supports predicate, e.g.:
+<pre class="turtle-code">
+<plugin> lv2:port [
+ a lv2:InputPort , ev:EventPort ;
+ lv2:name "control" ;
+ lv2:index 0 ;
+ ev:supports time:Position
+] .
</pre>
""" .