aboutsummaryrefslogtreecommitdiffstats
path: root/lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-09-09 21:24:19 -0400
committerDavid Robillard <d@drobilla.net>2015-09-09 21:24:19 -0400
commit930649e812dc1b03f21be5ef7f412d892d3add1b (patch)
tree064e0ffb0ddf17d9d351c9a4453f4b3d15a8dbbb /lv2
parent2cbcdae109088d91c8c759097bbd6a1060e41735 (diff)
downloadlv2-930649e812dc1b03f21be5ef7f412d892d3add1b.tar.xz
Add bufsz:nominalBlockLength
Diffstat (limited to 'lv2')
-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.ttl16
-rw-r--r--lv2/lv2plug.in/ns/ext/buf-size/lv2-buf-size.doap.ttl9
-rw-r--r--lv2/lv2plug.in/ns/ext/buf-size/manifest.ttl2
4 files changed, 27 insertions, 1 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 105995b..cff152b 100644
--- a/lv2/lv2plug.in/ns/ext/buf-size/buf-size.h
+++ b/lv2/lv2plug.in/ns/ext/buf-size/buf-size.h
@@ -33,6 +33,7 @@
#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__nominalBlockLength LV2_BUF_SIZE_PREFIX "nominalBlockLength"
#define LV2_BUF_SIZE__powerOf2BlockLength LV2_BUF_SIZE_PREFIX "powerOf2BlockLength"
#define LV2_BUF_SIZE__sequenceSize LV2_BUF_SIZE_PREFIX "sequenceSize"
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 5e2ec76..31a6906f 100644
--- a/lv2/lv2plug.in/ns/ext/buf-size/buf-size.ttl
+++ b/lv2/lv2plug.in/ns/ext/buf-size/buf-size.ttl
@@ -86,6 +86,22 @@ once, that is, the minimum <code>sample_count</code> parameter that will ever
be passed to LV2_Descriptor::run().</p>
""" .
+bufsz:nominalBlockLength
+ a rdf:Property ,
+ owl:DatatypeProperty ,
+ opts:Option ;
+ rdfs:label "nominal block length" ;
+ rdfs:range xsd:nonNegativeInteger ;
+ lv2:documentation """
+<p>The typical block length the host will request the plugin to process at
+once, once, that is, the typical <code>sample_count</code> parameter that will
+be passed to LV2_Descriptor::run(). This will usually be equivalent, or close
+to, the maximum block length, but there are no strong guarantees about this
+value whatsoever. Plugins may use this length for optimization purposes, but
+MUST NOT assume the host will always process blocks of this length. In
+particular, the host MAY process longer blocks.</p>
+""" .
+
bufsz:sequenceSize
a rdf:Property ,
owl:DatatypeProperty ,
diff --git a/lv2/lv2plug.in/ns/ext/buf-size/lv2-buf-size.doap.ttl b/lv2/lv2plug.in/ns/ext/buf-size/lv2-buf-size.doap.ttl
index a153480..b4ecf31 100644
--- a/lv2/lv2plug.in/ns/ext/buf-size/lv2-buf-size.doap.ttl
+++ b/lv2/lv2plug.in/ns/ext/buf-size/lv2-buf-size.doap.ttl
@@ -11,6 +11,15 @@
doap:created "2012-08-07" ;
doap:developer <http://drobilla.net/drobilla#me> ;
doap:release [
+ doap:revision "1.3" ;
+ doap:created "2015-09-09" ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Add bufsz:nominalBlockLength."
+ ]
+ ]
+ ] , [
doap:revision "1.2" ;
doap:created "2012-12-21" ;
doap:file-release <http://lv2plug.in/spec/lv2-1.4.0.tar.bz2> ;
diff --git a/lv2/lv2plug.in/ns/ext/buf-size/manifest.ttl b/lv2/lv2plug.in/ns/ext/buf-size/manifest.ttl
index 2578336..ef32688 100644
--- a/lv2/lv2plug.in/ns/ext/buf-size/manifest.ttl
+++ b/lv2/lv2plug.in/ns/ext/buf-size/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/ext/buf-size>
a lv2:Specification ;
lv2:minorVersion 1 ;
- lv2:microVersion 2 ;
+ lv2:microVersion 3 ;
rdfs:seeAlso <buf-size.ttl> .