[...][Stefano D'Angelo]
Thanks Stefano,
this extra symbol wouldn't be an addition to LADSPA itself. Instead,
it would be one private to caps.so, completely independent of the
plugin standard.
Like so, for example:
void * h = dlopen ("/path/to/caps.so", RTLD_LAZY);
/* assuming h is valid, check for caps */
const int * caps = (const int *) dlsym (h, "__caps_version__");
if (caps)
printf ("found caps version %d.%d.%d", caps[0], caps[1], caps[2]);
Should you consider special-casing for individual plugin libraries a
pragmatic and viable approach, I'd imagine something like this to be
helpful. (Put together, the caps library version and the UniqueID of
a plugin guarantee a stable port signature.)
Cheers, Tim
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.