From 9750ef664c9d0d0955acd40ebbb97cd39e5831d3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 29 Aug 2012 05:14:09 +0000 Subject: Add bufsz:maxBlockLength and bufsz:minBlockLength properties. --- lv2/lv2plug.in/ns/ext/buf-size/buf-size.h | 2 ++ lv2/lv2plug.in/ns/ext/buf-size/buf-size.ttl | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) (limited to 'lv2/lv2plug.in/ns/ext') 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 9a86e3d..de3509f 100644 --- a/lv2/lv2plug.in/ns/ext/buf-size/buf-size.h +++ b/lv2/lv2plug.in/ns/ext/buf-size/buf-size.h @@ -27,6 +27,8 @@ #define LV2_BUF_SIZE__access LV2_BUF_SIZE_PREFIX "access" #define LV2_BUF_SIZE__boundedBlockLength LV2_BUF_SIZE_PREFIX "boundedBlockLength" #define LV2_BUF_SIZE__fixedBlockLength LV2_BUF_SIZE_PREFIX "fixedBlockLength" +#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" #ifdef __cplusplus 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 9d125f7..ce3ad3a 100644 --- a/lv2/lv2plug.in/ns/ext/buf-size/buf-size.ttl +++ b/lv2/lv2plug.in/ns/ext/buf-size/buf-size.ttl @@ -1,5 +1,6 @@ @prefix bufsz: . @prefix lv2: . +@prefix opts: . @prefix owl: . @prefix rdf: . @prefix rdfs: . @@ -72,3 +73,27 @@ bufsz:fixedBlockLength.

Note that requiring this feature may severely limit the number of hosts capable of running the plugin.

""" . + +bufsz:maxBlockLength + a rdf:Property , + owl:DatatypeProperty , + opts:Option ; + rdfs:label "maximum block length" ; + rdfs:range xsd:nonNegativeInteger ; + lv2:documentation """ +

The maximum block length the host will ever request the plugin to process at +once, that is, the maximum sample_count parameter that will ever +be passed to LV2_Descriptor::run().

+""" . + +bufsz:minBlockLength + a rdf:Property , + owl:DatatypeProperty , + opts:Option ; + rdfs:label "minimum block length" ; + rdfs:range xsd:nonNegativeInteger ; + lv2:documentation """ +

The minimum block length the host will ever request the plugin to process at +once, that is, the minimum sample_count parameter that will ever +be passed to LV2_Descriptor::run().

+""" . -- cgit v1.2.1