unique IDs etc Re: [linux-audio-dev] Ladspa Gui's (Is ladspa actually la-dsp-a?)

Steve Harris S.W.Harris at ecs.soton.ac.uk
Wed Jun 9 11:09:04 UTC 2004


On Wed, Jun 09, 2004 at 12:16:14 +0100, Chris Cannam wrote:
> On Wednesday 09 Jun 2004 11:46 am, Steve Harris wrote:
> > The UID is not globally unique
> 
> Well, I would prefer that it wasn't, but unfortunately that does 
> contradict what ladspa.h specifies and what real hosts expect.

Nothing in ladspa.h says that UIDs are globally unique - just the .so +
label combination is guaranteed to be (system) unique.

> (jack-rack and Rosegarden at least currently use the unique ID to 
> index plugins and will reject plugins with duplicate IDs.)

Yep, and I think thier not alone. I only realised that UIDs were not
globally unique recently myself. Its kinda obvious when you think about
gnerated plugins, but its very confusing.

Using some kind of self-authorising, URI-like scheme would have been a
much better idea, but hey. Its a bit late now.

- Steve



More information about the Linux-audio-dev mailing list