summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-01-05 21:55:38 +0000
committerDavid Robillard <d@drobilla.net>2007-01-05 21:55:38 +0000
commit2fcb9c82c015524f7282b77ecd91d9e1f8db76e9 (patch)
treec21a83419001fe719e1b28fe847e32f21129e8bf
parente6eeac0ccc48f9a863aafd7ddf6d51c43b7e52b0 (diff)
downloadlilv-2fcb9c82c015524f7282b77ecd91d9e1f8db76e9.tar.gz
lilv-2fcb9c82c015524f7282b77ecd91d9e1f8db76e9.tar.bz2
lilv-2fcb9c82c015524f7282b77ecd91d9e1f8db76e9.zip
LV2 spec updates.
git-svn-id: http://svn.drobilla.net/lad/slv2@232 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--data/lv2.ttl7
-rw-r--r--slv2/lv2.h16
2 files changed, 17 insertions, 6 deletions
diff --git a/data/lv2.ttl b/data/lv2.ttl
index a152045..fa3a1f5 100644
--- a/data/lv2.ttl
+++ b/data/lv2.ttl
@@ -500,6 +500,13 @@ Includes things like mathematical functions and non-musical delays.
Any plugin that generates sound internally, rather than processing its input.
""" .
+:InstrumentPlugin a rdfs:Class ;
+ rdfs:subClassOf :GeneratorPlugin ;
+ rdfs:label "Instruments" ;
+ rdfs:comment """
+Any plugin that is intended to be played as a musical instrument.
+""" .
+
:OscillatorPlugin a rdfs:Class ;
rdfs:subClassOf :GeneratorPlugin ;
rdfs:label "Oscillators" .
diff --git a/slv2/lv2.h b/slv2/lv2.h
index 51cb61a..3b182b1 100644
--- a/slv2/lv2.h
+++ b/slv2/lv2.h
@@ -34,7 +34,9 @@ extern "C" {
/* ************************************************************************* */
-/* Overview:
+/** @file lv2.h
+ *
+ * == Overview ==
*
* There are a large number of open source and free software synthesis
* packages in use or development at this time. This API ('LV2')
@@ -67,10 +69,12 @@ extern "C" {
* by dlopen() and family. The file will provide a number of 'plugin
* types' that can be used to instantiate actual plugins (sometimes known
* as 'plugin instances') that can be connected together to perform tasks.
+ * The host can access these plugin types using the lv2_descriptor()
+ * function.
*
* This API contains very limited error-handling.
*
- * Threading rules:
+ * == Threading rules ==
*
* Certain hosts may need to call the functions provided by a plugin from
* multiple threads. For this to be safe, the plugin must be written so that
@@ -78,9 +82,9 @@ extern "C" {
* To facilitate this, the functions provided by a plugin are divided into
* classes:
*
- * Audio class: run(), connect_port()
- * Instantiation class: instantiate(), cleanup(),
- * activate(), deactivate()
+ * - Audio class: run(), connect_port()
+ * - Instantiation class: instantiate(), cleanup(),
+ * activate(), deactivate()
*
* Extensions to this specification which add new functions MUST declare in
* which of these classes the functions belong, or define new classes for them.
@@ -326,7 +330,7 @@ typedef struct _LV2_Descriptor {
/* ****************************************************************** */
-/** Accessing a Plugin:
+/** Accessing Plugin Types.
*
* The exact mechanism by which plugins are loaded is host-dependent,
* however all most hosts will need to know is the URI of the plugin they