summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-02-09 01:02:29 +0000
committerDavid Robillard <d@drobilla.net>2007-02-09 01:02:29 +0000
commit984193c0f86ac3c413bc2646c2601fa9ba49f9af (patch)
treeec55100879b79c0ca9ec9129a6e93ce89bece940 /slv2
parent200565b81542d1b0fde1a657b807646733f2508c (diff)
downloadlilv-984193c0f86ac3c413bc2646c2601fa9ba49f9af.tar.gz
lilv-984193c0f86ac3c413bc2646c2601fa9ba49f9af.tar.bz2
lilv-984193c0f86ac3c413bc2646c2601fa9ba49f9af.zip
LV2 spec updates.
git-svn-id: http://svn.drobilla.net/lad/slv2@292 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2')
-rw-r--r--slv2/lv2.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/slv2/lv2.h b/slv2/lv2.h
index 00b2173..61d79c3 100644
--- a/slv2/lv2.h
+++ b/slv2/lv2.h
@@ -201,19 +201,20 @@ typedef struct _LV2_Descriptor {
/** Function pointer that connects a port on a plugin instance to a memory
* location where the block of data for the port will be read/written.
*
- * The data location is expected to be an array of void * (typically
- * float *) for audio ports or a single void * value for control
- * ports. Memory issues are managed by the host. The plugin must
- * read/write the data at these locations every time run() is called
- * and the data present at the time of this connection call MUST NOT
- * be considered meaningful.
+ * The data location is expected to be of the type defined in the
+ * plugin's data file (e.g. an array of float for an lv2:AudioPort).
+ * Memory issues are managed by the host. The plugin must read/write
+ * the data at these locations every time run() is called, data
+ * present at the time of this connection call MUST NOT be
+ * considered meaningful.
*
* connect_port() may be called more than once for a plugin instance
* to allow the host to change the buffers that the plugin is reading
* or writing. These calls may be made before or after activate()
- * or deactivate() calls.
+ * or deactivate() calls. Note that there may be realtime constraints
+ * on connect_port (see lv2:hardRTCapable in lv2.ttl).
*
- * connect_port() must be called at least once for each port before
+ * connect_port() MUST be called at least once for each port before
* run() is called. The plugin must pay careful attention to the block
* size passed to the run function as the block allocated may only just
* be large enough to contain the block of data (typically samples), and
@@ -221,7 +222,7 @@ typedef struct _LV2_Descriptor {
*
* Plugin writers should be aware that the host may elect to use the
* same buffer for more than one port and even use the same buffer for
- * both input and output (see lv2:inplaceBroken in lv2.ttl).
+ * both input and output (see lv2:inPlaceBroken in lv2.ttl).
* However, overlapped buffers or use of a single buffer for both
* audio and control data may result in unexpected behaviour.
*