diff options
author | David Robillard <d@drobilla.net> | 2011-03-18 08:11:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-18 08:11:54 +0000 |
commit | c818294fc259072596557ff27b2d63c50c02ed5a (patch) | |
tree | 1571608761bac1cedc0fb7ae1e8944484033efc6 /core.lv2/lv2.h | |
parent | 4563511f171291a30f36d74ffb1ff81efcd6042e (diff) | |
download | lv2-c818294fc259072596557ff27b2d63c50c02ed5a.tar.xz |
Define pre-roll special case.
Diffstat (limited to 'core.lv2/lv2.h')
-rw-r--r-- | core.lv2/lv2.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core.lv2/lv2.h b/core.lv2/lv2.h index 7706ef1..189cbd3 100644 --- a/core.lv2/lv2.h +++ b/core.lv2/lv2.h @@ -198,6 +198,13 @@ typedef struct _LV2_Descriptor { things that the plugin MUST NOT do within the run() function (see lv2.ttl for details). + As a special case, when @a sample_count == 0, the plugin should update + any output ports that represent a single instant in time (e.g. control + ports, but not audio ports). This is particularly useful for latent + plugins, which should update their latency output port so hosts can + pre-roll plugins to compute latency. Plugins MUST NOT crash when + @a sample_count == 0. + @param instance Instance to be run. @param sample_count The block size (in samples) for which the plugin |