[LAD] LADSPA dilemma

Fons Adriaensen fons at kokkinizita.net
Fri Jun 15 13:16:29 UTC 2007

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.


Follie! Follie! Delirio vano è questo !

More information about the Linux-audio-dev mailing list