[LAD] [RFC] LADSPA 1.2

Damon Chaplin damon at karuna.eclipse.co.uk
Thu Jun 18 20:37:02 UTC 2009


On Thu, 2009-06-18 at 20:58 +0200, Stefano D'Angelo wrote:
> 2009/6/18 Fons Adriaensen <fons at kokkinizita.net>:
> >> 5. Add something like this to the API:
> >>
> >> struct {
> >>   float value;
> >>   const char *name;
> >> } ladspa_port_value_enum;
> >>
> >> struct ladspa_port_value_enum * ladspa_get_port_value_enums(unsigned long
> >> descriptor_index, unsigned long port_index);
> >
> > Would not be backwards compatible as far as I can see.
> 
> Uh? Why not? Exporting a new symbol breaks API/ABI???

You mean adding a function outside the LADSPA_Descriptor, don't you?
i.e. another function like ladspa_descriptor(). (There seems to be some
confusion!)

I think your idea is cleaner than Fons', and has the advantage of
allowing non-integer values for the settings.

Damon





More information about the Linux-audio-dev mailing list