[LAD] Plugin buffer size restrictions

David Robillard d at drobilla.net
Fri Jun 1 22:42:01 UTC 2012


On Fri, 2012-06-01 at 22:22 +0000, Fons Adriaensen wrote:
> On Fri, Jun 01, 2012 at 06:09:06PM -0400, David Robillard wrote:
> 
> > LV2_Buf_Size_Status
> > get_block_length(LV2_Buf_Size_Buf_Feature_Handle handle,
> >                  uint32_t*                       min,
> >                  uint32_t*                       max,
> >                  uint32_t*                       multiple_of,
> >                  uint32_t*                       power_of);
> > 
> 
> 
> > This callback just describes reality to the plugin at instantiation
> > time. 
> 
> That 'to the plugin' confuses me - isn't this supposed to be
> the plugin telling the host what it (the plugin) needs ?

This is a host-provided callback which the plugin can use at
instantiation time to figure out the block length characteristics,
whatever they may be.

-dr




More information about the Linux-audio-dev mailing list