[LAD] Plugin buffer size restrictions

Stefano D'Angelo zanga.mail at gmail.com
Sun May 27 23:58:55 UTC 2012

2012/5/28 Fons Adriaensen <fons at linuxaudio.org>:
> On Mon, May 28, 2012 at 12:00:36AM +0300, Stefano D'Angelo wrote:
>> So far so good, but in practical terms how could a plugin API allow
>> all use cases without requiring the plugin writer to do twice the
>> work? The only solution I can think of is "getting future values" in
>> case a host can provide them, but maybe there is a better way?
> If you really want 'sample accurate' control for bandlimited
> controls then the host must provide future values. Which is not
> more difficult than providing latency compensation for audio
> signals, at least not if the control rate is fixed. It's not
> at all an issue for the plugin code and you certainly don't
> need two versions of it.

(Maybe just for the record) I meant one version for sample accurate
control (whether by accessing future values or by the host providing
latency compensation) and another for live usage (virtually
latency-free, but less accurate w.r.t. parameters).


More information about the Linux-audio-dev mailing list