[LV2] Erratum: ranges of LV2 Buf Size properties

Robin Davies rerdavies at gmail.com
Sat Apr 22 19:49:10 PDT 2023


In the page http://lv2plug.in/ns/ext/buf-size, the ranges of the properties
maxBlockLength, minBlockLength, nominalBlocklength, and sequenceSize are
listed as xsd:nonNegativeInteger.

The problem with that, is that the xsd:nonNegativeInteger type is of
unbounded size. +123456789012345678901234567890 is a valid and legal
xsd:nonNegativeInteger. I cannot imagine how one would encode that in
an LV2_Options_Option structure.

I've searched through all the source code I can find on the internet that
implements LV2 Buf Size properties, and they seem to universally use a type
of  atom:Int.

Perhaps the documentation could be changed to reflect that.

The proposed change:


   - Replace all occurrences of xsd:nonNegativeInteger in
   http://lv2plug.in/ns/ext/buf-size with atom:Int.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20230422/3f0d49d5/attachment.htm>


More information about the Devel mailing list