Re: [LAD] Plugin buffer size restrictions

From: Stefano D'Angelo <zanga.mail@email-addr-hidden>
Date: Mon May 28 2012 - 02:58:55 EEST

2012/5/28 Fons Adriaensen <fons@email-addr-hidden>:
> 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).

Stefano
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon May 28 04:15:04 2012

This archive was generated by hypermail 2.1.8 : Mon May 28 2012 - 04:15:05 EEST