Re: [LAD] LADSPA dilemma

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Fri Jun 15 2007 - 16:16:29 EEST

On Fri, Jun 15, 2007 at 03:05:54PM +0200, Fons Adriaensen wrote:
> On Fri, Jun 15, 2007 at 02:08:17PM +0200, Tim Goetze wrote:
>
> > Let's assume the host provides the values that are going to be used at
> > run() right when activate() is called.
>
> They may not be available. Or they could change in between the
> activate() and the first run(). In the latter case nothing is
> solved, your first run() will interpolate again. To avoid that,
> the host would have to delay any parameter updates until after
> the first run(), and that is considerably more complicated than
> a simple flag in the plugin. It would force the host to keep
> two paramters sets to start with.

Also consider that activate() and run() are normally called from
different threads and contexts, again complicating any coordination
between the two.

-- 
FA
Follie! Follie! Delirio vano è questo !
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
Received on Fri Jun 15 16:15:05 2007

This archive was generated by hypermail 2.1.8 : Fri Jun 15 2007 - 16:15:06 EEST