Re: [LAD] [RFC] LADSPA 1.2

From: Stefano D'Angelo <zanga.mail@email-addr-hidden>
Date: Thu Jun 18 2009 - 23:52:14 EEST

2009/6/18 Damon Chaplin <damon@email-addr-hidden>:
>
> On Thu, 2009-06-18 at 20:58 +0200, Stefano D'Angelo wrote:
>> 2009/6/18 Fons Adriaensen <fons@email-addr-hidden>:
>> >> 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!)

Yes, sorry if I didn't make it clear enough.

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

Well, the main advantage is that we can pollute the "ladspa_
namespace" as we like without API/ABI problems (future proof yeah :-P)

Stefano
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Fri Jun 19 00:15:06 2009

This archive was generated by hypermail 2.1.8 : Fri Jun 19 2009 - 00:15:07 EEST