From bf89c83b8f81aa485d71d9c05c734c08fde4871e Mon Sep 17 00:00:00 2001
From: David Robillard
Date: Mon, 19 Jan 2015 17:29:34 -0500
Subject: Improve documentation.
---
lv2/lv2plug.in/ns/ext/worker/worker.ttl | 12 ++++++++++++
1 file changed, 12 insertions(+)
(limited to 'lv2')
diff --git a/lv2/lv2plug.in/ns/ext/worker/worker.ttl b/lv2/lv2plug.in/ns/ext/worker/worker.ttl
index 8ab330d..fb182a7 100644
--- a/lv2/lv2plug.in/ns/ext/worker/worker.ttl
+++ b/lv2/lv2plug.in/ns/ext/worker/worker.ttl
@@ -54,4 +54,16 @@ work:schedule
worker method. To support this feature, the host must pass an LV2_Feature to
LV2_Descriptor::instantiate() with URI LV2_WORKER__schedule and data pointed to
an instance of LV2_Worker_Schedule.
+
+The plugin data file should describe this like so:
+
+@prefix work: <http://lv2plug.in/ns/ext/worker#> .
+
+<plugin>
+ a lv2:Plugin ;
+ lv2:requiredFeature work:schedule .
+
+
+As usual, lv2:optionalFeature may be used instead, if the plugin is capable
+of running in a host that does not provide this feature.
""" .
--
cgit v1.2.1