LV2 Extensions
The extension’s URI is
http://tapas.affenbande.org/lv2/ext/fixed-buffersize
All that a plugin needs to check is whether a host feature with this URI exists and the data will be a uint32 containing the buffersize.
The host is only allowed to call the plugin’s run function with a buffersize equal to the one specified by the host feature.
There’s a second extension:
http://tapas.affenbande.org/lv2/ext/power-of-two-buffersize
which is identical to above but with the additional requirement that the buffersize has to be a power of two.