[linux-audio-dev] LADSPA 2

Steve Harris S.W.Harris at ecs.soton.ac.uk
Wed Apr 26 09:38:50 UTC 2006


On Wed, Apr 26, 2006 at 09:48:01 +0100, tom christie wrote:
...

> Well, it provides a _built-in_ way of ensuring that the struct is
> properly accessed,
> even if the metadata file is corrupted or lost.
> Say a user meddles with the metadata file to make a 2.0 plugin look
> like a 2.1 plugin.  The host attempts to access 2.1 functionality and
> core dumps.
> Say the metadata file has been lost - the plugin contains sufficient
> information to remain accessible although it no longer has any
> associated metadata.

It's not metadata. If the data is corrupt or missing then youre SOL. It's
just as vital as the arrays of structs were in LADSPA 1; if you dont have
the data theres no way to use the plugin without causing segfaults.

This is why the "plugin" is really a directory, all the stuff in there is
neccesary.

- Steve 



More information about the Linux-audio-dev mailing list