aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-29 17:44:27 +0000
committerDavid Robillard <d@drobilla.net>2012-08-29 17:44:27 +0000
commit4e3771992fb6b5e198060563c0481d658271717d (patch)
tree658904abf82cfc5eeb4606d6141985b631890553 /lv2/lv2plug.in/ns
parent9750ef664c9d0d0955acd40ebbb97cd39e5831d3 (diff)
downloadlv2-4e3771992fb6b5e198060563c0481d658271717d.tar.xz
Add bufsz:sequenceSize.
Diffstat (limited to 'lv2/lv2plug.in/ns')
-rw-r--r--lv2/lv2plug.in/ns/ext/buf-size/buf-size.h1
-rw-r--r--lv2/lv2plug.in/ns/ext/buf-size/buf-size.ttl12
2 files changed, 13 insertions, 0 deletions
diff --git a/lv2/lv2plug.in/ns/ext/buf-size/buf-size.h b/lv2/lv2plug.in/ns/ext/buf-size/buf-size.h
index de3509f..36884f3 100644
--- a/lv2/lv2plug.in/ns/ext/buf-size/buf-size.h
+++ b/lv2/lv2plug.in/ns/ext/buf-size/buf-size.h
@@ -30,6 +30,7 @@
#define LV2_BUF_SIZE__maxBlockLength LV2_BUF_SIZE_PREFIX "maxBlockLength"
#define LV2_BUF_SIZE__minBlockLength LV2_BUF_SIZE_PREFIX "minBlockLength"
#define LV2_BUF_SIZE__powerOf2BlockLength LV2_BUF_SIZE_PREFIX "powerOf2BlockLength"
+#define LV2_BUF_SIZE__sequenceSize LV2_BUF_SIZE_PREFIX "sequenceSize"
#ifdef __cplusplus
extern "C" {
diff --git a/lv2/lv2plug.in/ns/ext/buf-size/buf-size.ttl b/lv2/lv2plug.in/ns/ext/buf-size/buf-size.ttl
index ce3ad3a..1c9b508 100644
--- a/lv2/lv2plug.in/ns/ext/buf-size/buf-size.ttl
+++ b/lv2/lv2plug.in/ns/ext/buf-size/buf-size.ttl
@@ -97,3 +97,15 @@ bufsz:minBlockLength
once, that is, the minimum <code>sample_count</code> parameter that will ever
be passed to LV2_Descriptor::run().</p>
""" .
+
+bufsz:sequenceSize
+ a rdf:Property ,
+ owl:DatatypeProperty ,
+ opts:Option ;
+ rdfs:label "sequnce size" ;
+ rdfs:range xsd:nonNegativeInteger ;
+ lv2:documentation """
+<p>The maximum size of a sequence, in bytes. This should be provided as an
+option by hosts that support event ports (including but not limited to MIDI),
+so plugins have the ability to allocate auxiliary buffers large enough to copy
+the input.</p> """ .