aboutsummaryrefslogtreecommitdiffstats
path: root/core.lv2/lv2.h
diff options
context:
space:
mode:
Diffstat (limited to 'core.lv2/lv2.h')
-rw-r--r--core.lv2/lv2.h7
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