Re: [LAD] RFC: Default discovery paths for LADSPA, LRDF, LV2 and DSSI (and more?)

From: Jan Weil <jan.weil@email-addr-hidden>
Date: Thu Jun 25 2009 - 19:24:02 EEST

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.).

Jan
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Thu Jun 25 20:15:04 2009

This archive was generated by hypermail 2.1.8 : Thu Jun 25 2009 - 20:15:04 EEST