aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/buf-size
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-29 05:14:09 +0000
committerDavid Robillard <d@drobilla.net>2012-08-29 05:14:09 +0000
commit9750ef664c9d0d0955acd40ebbb97cd39e5831d3 (patch)
tree3fe4e97fd4fa6af1df4f3612830a9af20e58311e /lv2/lv2plug.in/ns/ext/buf-size
parent6444ed9d5268a3912174d0c3c98d4f58dfccfb0b (diff)
downloadlv2-9750ef664c9d0d0955acd40ebbb97cd39e5831d3.tar.xz
Add bufsz:maxBlockLength and bufsz:minBlockLength properties.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/buf-size')
-rw-r--r--lv2/lv2plug.in/ns/ext/buf-size/buf-size.h2
-rw-r--r--lv2/lv2plug.in/ns/ext/buf-size/buf-size.ttl25
2 files changed, 27 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 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: <http://lv2plug.in/ns/ext/buf-size#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix opts: <http://lv2plug.in/ns/ext/options#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@@ -72,3 +73,27 @@ bufsz:fixedBlockLength.</p>
<p>Note that requiring this feature may severely limit the number of hosts
capable of running the plugin.</p>
""" .
+
+bufsz:maxBlockLength
+ a rdf:Property ,
+ owl:DatatypeProperty ,
+ opts:Option ;
+ rdfs:label "maximum block length" ;
+ rdfs:range xsd:nonNegativeInteger ;
+ lv2:documentation """
+<p>The maximum block length the host will ever request the plugin to process at
+once, that is, the maximum <code>sample_count</code> parameter that will ever
+be passed to LV2_Descriptor::run().</p>
+""" .
+
+bufsz:minBlockLength
+ a rdf:Property ,
+ owl:DatatypeProperty ,
+ opts:Option ;
+ rdfs:label "minimum block length" ;
+ rdfs:range xsd:nonNegativeInteger ;
+ lv2:documentation """
+<p>The minimum block length the host will ever request the plugin to process at
+once, that is, the minimum <code>sample_count</code> parameter that will ever
+be passed to LV2_Descriptor::run().</p>
+""" .