path: root/lv2/urid/urid.ttl
diff options
Diffstat (limited to 'lv2/urid/urid.ttl')
1 files changed, 39 insertions, 0 deletions
diff --git a/lv2/urid/urid.ttl b/lv2/urid/urid.ttl
new file mode 100644
index 0000000..29b196a
--- /dev/null
+++ b/lv2/urid/urid.ttl
@@ -0,0 +1,39 @@
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix urid: <http://lv2plug.in/ns/ext/urid#> .
+ a lv2:Specification ;
+ rdfs:seeAlso <urid.h> ,
+ <lv2-urid.doap.ttl> ;
+ lv2:documentation """
+<p>This extension defines a simple mechanism for plugins to map URIs to and
+from integers, usually for performance reasons (e.g. processing events typed by
+URIs in real time). Typically, plugins map URIs to integers for things they
+"understand" at instantiation time, and store those values for use in the audio
+thread without doing any string comparison. This allows for the extensibility
+of RDF but with the performance of integers.</p>
+<p>This extension is intended as an improved and simplified replacement for the
+<a href="../uri-map/uri-map.html">uri-map</a> extension, since the <q>map</q>
+context parameter has been found problematic. This extension is functionally
+equivalent to the uri-map extension with a NULL context. New implementations
+are encouraged to use this extension for URI mapping.</p>
+""" .
+ a lv2:Feature ;
+ lv2:documentation """
+<p>A feature which is used to map URIs to integers. To support this feature,
+the host must pass an LV2_Feature to LV2_Descriptor::instantiate() with URI
+LV2_URID__map and data pointed to an instance of LV2_URID_Map.</p>
+""" .
+ a lv2:Feature ;
+ lv2:documentation """
+<p>A feature which is used to unmap URIs previously mapped to integers by
+urid:map. To support this feature, the host must pass an LV2_Feature to
+LV2_Descriptor::instantiate() with URI LV2_URID__unmap and data pointed to
+an instance of LV2_URID_Unmap.</p>
+""" .