2009/6/25 Jan Weil <[email protected]> > On Thu, Jun 25, 2009 at 05:47:23PM +0200, Stefano D'Angelo wrote: > > In case of multiple occourrences, myabe it's better to check for stat()'s > > st_mtime to decide which one to load? However, I don't see any of such > > mechanisms officially specified anywhere (apart from the "If present, > this > > should contain a colon-separated path indicating directories that should > be > > searched (in order) when loading plugin types." in ladspa.h, which > really > > means nothing)... > > In my opinion, the host should not try to decide anything in this case. > Don't try to be clever. Just present all of the available versions to > the user and let him/her choose. Most of the time you don't want > multiple versions of your plugins on your system and, what is more, you > might even not be aware that there is a conflict. Of course, this is not > the way PATH-like variables are usually used, but even in the case of > PATH we know similar problems (multiple versions of jackd etc.).
It is reasonable for LADSPA hosts to show duplicate versions of a plugin, for LV2 I guess the user would have to choose which implementation to use instead (this is because of URIs), unless there are better ways to handle this... Dave? Stefano
_______________________________________________ Linux-audio-dev mailing list [email protected] http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
