aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/worker
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-30 23:27:26 +0000
committerDavid Robillard <d@drobilla.net>2012-03-30 23:27:26 +0000
commit17c6df0bc3043c57d2c02c58284ec4794f656b3c (patch)
treee1729e4891aca09fe4a0f560618a74a8fc608833 /lv2/lv2plug.in/ns/ext/worker
parent689d75259a7187b2cb6a592025f11bc7d3aa58a2 (diff)
downloadlv2-17c6df0bc3043c57d2c02c58284ec4794f656b3c.tar.xz
Fix screwy invalid ExtensionData definitions as classes (now matches how Feature is used).
Add status return codes to state methods for error handling.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/worker')
-rw-r--r--lv2/lv2plug.in/ns/ext/worker/worker.h4
-rw-r--r--lv2/lv2plug.in/ns/ext/worker/worker.ttl9
2 files changed, 6 insertions, 7 deletions
diff --git a/lv2/lv2plug.in/ns/ext/worker/worker.h b/lv2/lv2plug.in/ns/ext/worker/worker.h
index b0d87ec..74ac45b 100644
--- a/lv2/lv2plug.in/ns/ext/worker/worker.h
+++ b/lv2/lv2plug.in/ns/ext/worker/worker.h
@@ -29,7 +29,7 @@
#define LV2_WORKER_URI "http://lv2plug.in/ns/ext/worker"
#define LV2_WORKER_PREFIX LV2_WORKER_URI "#"
-#define LV2_WORKER__Interface LV2_WORKER_PREFIX "Interface"
+#define LV2_WORKER__interface LV2_WORKER_PREFIX "interface"
#define LV2_WORKER__schedule LV2_WORKER_PREFIX "schedule"
/**
@@ -60,7 +60,7 @@ typedef LV2_Worker_Status (*LV2_Worker_Respond_Function)(
This is the interface provided by the plugin to implement a worker method.
The plugin's extension_data() method should return an LV2_Worker_Interface
- when called with LV2_WORKER__Interface as its argument.
+ when called with LV2_WORKER__interface as its argument.
*/
typedef struct _LV2_Worker_Interface {
/**
diff --git a/lv2/lv2plug.in/ns/ext/worker/worker.ttl b/lv2/lv2plug.in/ns/ext/worker/worker.ttl
index 517aabb..09f7249 100644
--- a/lv2/lv2plug.in/ns/ext/worker/worker.ttl
+++ b/lv2/lv2plug.in/ns/ext/worker/worker.ttl
@@ -49,14 +49,13 @@ offline rendering, or in real-time with non-real-time work taking place in a
separate thread.</p>
""" .
-work:Interface
- a rdfs:Class ;
- rdfs:subClassOf lv2:ExtensionData ;
+work:interface
+ a lv2:ExtensionData ;
lv2:documentation """
<p>The interface provided by the plugin to implement a worker. To implement
this extension, the plugin must return a valid LV2_Worker_Interface from
LV2_Descriptor::extension_data() when it is called with URI
-LV2_WORKER__Interface.</p>
+LV2_WORKER__interface.</p>
<p>The plugin data file should describe this like so:</p>
<pre class="turtle-code">
@@ -64,7 +63,7 @@ LV2_WORKER__Interface.</p>
&lt;plugin&gt;
a lv2:Plugin ;
- lv2:extensionData work:Interface .
+ lv2:extensionData work:interface .
</pre>
""" .