From 4e3771992fb6b5e198060563c0481d658271717d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 29 Aug 2012 17:44:27 +0000 Subject: Add bufsz:sequenceSize. --- lv2/lv2plug.in/ns/ext/buf-size/buf-size.h | 1 + lv2/lv2plug.in/ns/ext/buf-size/buf-size.ttl | 12 ++++++++++++ 2 files changed, 13 insertions(+) (limited to 'lv2/lv2plug.in/ns/ext/buf-size') 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 sample_count parameter that will ever be passed to LV2_Descriptor::run().

""" . + +bufsz:sequenceSize + a rdf:Property , + owl:DatatypeProperty , + opts:Option ; + rdfs:label "sequnce size" ; + rdfs:range xsd:nonNegativeInteger ; + lv2:documentation """ +

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.

""" . -- cgit v1.2.1