[LAD] LADSPA dilemma

Tim Goetze tim at quitte.de
Fri Jun 15 10:01:10 UTC 2007

[Fons Adriaensen]
>Since LADSPA does not specifiy that control values are valid at
>activate(), either
>1. the first sweep has to start from defaults,
>2. or it has to be replaced by a jump to the current control values.
>For 2. keep a boolean indicating that the current control values
>are valid and can be used as the starting point for interpolation.
>Reset in activate(), set in each process().

I've thought of 2. too but would prefer a host side solution because

* you only have to do it once per host, not once per plugin
* it keeps the plugin code simple
* it is more efficient

But I guess that you are right and I should simply do 2. -- or are 
there any host authors out there who think otherwise?

Thanks, Tim

More information about the Linux-audio-dev mailing list