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 ++++++++++++ wscript | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) 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.

""" . diff --git a/wscript b/wscript index a29d54e..f287e3b 100644 --- a/wscript +++ b/wscript @@ -14,7 +14,7 @@ import waflib.Scripting as Scripting # Variables for 'waf dist' APPNAME = 'lv2' -VERSION = '1.0.11' +VERSION = '1.0.13' # Mandatory variables top = '.' -- cgit v1.2.1