Re: [LAD] [ann] CAPS 0.4.5

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stefano D'Angelo <zanga.mail@...>
Cc: linux-audio-dev <linux-audio-dev@...>
Date: Saturday, April 2, 2011 - 9:44 am

[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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] [ann] CAPS 0.4.5, Tim Goetze, (Sat Mar 26, 8:53 pm)
Re: [LAD] [ann] CAPS 0.4.5, Julien Claassen, (Sat Mar 26, 10:36 pm)
Re: [LAD] [ann] CAPS 0.4.5, Paul Coccoli, (Mon Mar 28, 12:02 am)
Re: [LAD] [ann] CAPS 0.4.5, Tim Goetze, (Mon Mar 28, 6:23 pm)
Re: [LAD] [ann] CAPS 0.4.5, Stefano D'Angelo, (Mon Mar 28, 8:15 pm)
Re: [LAD] [ann] CAPS 0.4.5, Tim Goetze, (Mon Mar 28, 8:54 pm)
Re: [LAD] [ann] CAPS 0.4.5, Stefano D'Angelo, (Mon Mar 28, 8:59 pm)
Re: [LAD] [ann] CAPS 0.4.5, Philipp √úberbacher, (Tue Mar 29, 12:54 am)
Re: [LAD] [ann] CAPS 0.4.5, Olivier Guilyardi, (Wed Mar 30, 1:04 pm)
Re: [LAD] [ann] CAPS 0.4.5, Paul Giblock, (Wed Mar 30, 1:15 pm)
Re: [LAD] [ann] CAPS 0.4.5, David Robillard, (Fri Apr 1, 6:18 pm)
Re: [LAD] [ann] CAPS 0.4.5, Tim Goetze, (Tue Mar 29, 6:52 pm)
Re: [LAD] [ann] CAPS 0.4.5, David Robillard, (Wed Mar 30, 2:51 am)
Re: [LAD] [ann] CAPS 0.4.5, Stefano D'Angelo, (Wed Mar 30, 11:40 am)
Re: [LAD] [ann] CAPS 0.4.5, David Robillard, (Fri Apr 1, 6:15 pm)
Re: [LAD] [ann] CAPS 0.4.5, Stefano D'Angelo, (Tue Mar 29, 9:46 pm)
Re: [LAD] [ann] CAPS 0.4.5, Tim Goetze, (Sat Apr 2, 9:44 am)
Re: [LAD] [ann] CAPS 0.4.5, Stefano D'Angelo, (Sun Apr 3, 8:34 am)
Re: [LAD] [ann] CAPS 0.4.5, David Robillard, (Tue Apr 5, 12:34 am)
Re: [LAD] [ann] CAPS 0.4.5, Stefano D'Angelo, (Tue Apr 5, 1:16 pm)
Re: [LAD] [ann] CAPS 0.4.5, Tim Goetze, (Thu Apr 7, 4:51 pm)
Re: [LAD] [ann] CAPS 0.4.5, David Robillard, (Fri Apr 8, 12:53 am)
Re: [LAD] [ann] CAPS 0.4.5, Tim Goetze, (Sun Apr 10, 7:43 am)
Re: [LAD] [ann] CAPS 0.4.5, Paul Davis, (Sun Apr 10, 11:33 am)
Re: [LAD] [ann] CAPS 0.4.5, Tim Goetze, (Sun Apr 10, 1:52 pm)
Re: [LAD] [ann] CAPS 0.4.5, Robin Gareus, (Sun Apr 10, 4:51 pm)
Re: [LAD] [ann] CAPS 0.4.5, Tim Goetze, (Sun Apr 10, 6:15 pm)
Re: [LAD] [ann] CAPS 0.4.5, Paul Coccoli, (Fri Apr 8, 1:32 am)
Re: [LAD] [ann] CAPS 0.4.5, Jostein Chr. Andersen, (Mon Mar 28, 8:09 pm)