Re: [LAD] [RFC] LADSPA 1.2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Luis Garrido <luisgarrido@...>
Cc: <linux-audio-dev@...>
Date: Thursday, June 18, 2009 - 6:46 pm

--0016367fa1685b86a2046ca3d3be
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

2009/6/18 Luis Garrido

> This has been debated already. Several times. For instance, please

We have basically five alternatives, I guess:

1. Forget about this;
2. Implement this breaking the ABI (API too?);
3. Do as Fons suggested (which to me sounds like make that tiny part of the
API a bit counter-intuitive);
4. Use LRDF;
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);

I'd choose 4 or 5, but in the end I don't really care, whatever is fine with
me.

Stefano

--0016367fa1685b86a2046ca3d3be
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

2009/6/18 Luis Garrido <luisgarrido@users.sourceforge.net>=

This has been debated already. Several times. For instance, please
follow this (long) thread:

http://lists.linuxaudio.org/pipermail/linux=
-audio-dev/2004-March/006948.html

While I think that each side of the argument has its merits, in the
end to me it all boils down to: "is lrdf simple and lightweight enough=

so it is acceptable to consider it from a practical point of view a
de-facto mandatory extension of ladspa.h for all but the simplest of
hosts and plugins?"

My personal answer is "mmm... okay, I guess" but I don't thin=
k we will
ever reach a global consensus on this.=A0We h=
ave basically five alternatives, I guess:1. Forget about this;2=
. Implement this breaking the ABI (API too?);3. Do as Fons suggested (w=
hich to me sounds like make that tiny part of the API a bit counter-intuiti=
ve);
4. Use LRDF;5. Add something like this to the API:struct {=
=A0 float value;=A0 const char *name;} ladspa_port_value_enum;<=
br>struct ladspa_port_value_enum * ladspa_get_port_value_enums(unsigned lon=
g descriptor_index, unsigned long port_index);
I'd choose 4 or 5, but in the end I don't really care, whatever=
is fine with me.Stefano

--0016367fa1685b86a2046ca3d3be--

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

Messages in current thread:
[LAD] [RFC] LADSPA 1.2, Jörn Nettingsmeier, (Thu Jun 18, 4:28 pm)
Re: [LAD] [RFC] LADSPA 1.2, Pau , (Sat Jun 20, 12:07 pm)
Re: [LAD] [RFC] LADSPA 1.2, Fons Adriaensen, (Thu Jun 18, 5:48 pm)
Re: [LAD] [RFC] LADSPA 1.2, Tim Goetze, (Thu Jun 18, 6:53 pm)
Re: [LAD] [RFC] LADSPA 1.2, Fons Adriaensen, (Thu Jun 18, 8:22 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Thu Jun 18, 8:57 pm)
Re: [LAD] [RFC] LADSPA 1.2, Tim Goetze, (Thu Jun 18, 9:17 pm)
Re: [LAD] [RFC] LADSPA 1.2, Arnold Krille, (Thu Jun 18, 9:24 pm)
Re: [LAD] [RFC] LADSPA 1.2, Fons Adriaensen, (Thu Jun 18, 9:43 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Thu Jun 18, 9:23 pm)
Re: [LAD] [RFC] LADSPA 1.2, Damon Chaplin, (Thu Jun 18, 9:47 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Thu Jun 18, 9:59 pm)
Re: [LAD] [RFC] LADSPA 1.2, Krzysztof Foltman, (Fri Jun 19, 8:20 am)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Fri Jun 19, 12:07 pm)
Re: [LAD] [RFC] LADSPA 1.2, Krzysztof Foltman, (Fri Jun 19, 12:35 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Fri Jun 19, 12:49 pm)
Re: [LAD] [RFC] LADSPA 1.2, Krzysztof Foltman, (Fri Jun 19, 1:33 pm)
Re: [LAD] [RFC] LADSPA 1.2, Fraser, (Fri Jun 19, 4:53 pm)
Re: [LAD] [RFC] LADSPA 1.2, Krzysztof Foltman, (Fri Jun 19, 6:01 pm)
Re: [LAD] [RFC] LADSPA 1.2, Fraser, (Sat Jun 20, 2:18 am)
Re: [LAD] [RFC] LADSPA 1.2, David Robillard, (Sat Jun 20, 12:14 am)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Fri Jun 19, 1:45 pm)
Re: [LAD] [RFC] LADSPA 1.2, Krzysztof Foltman, (Fri Jun 19, 2:15 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Fri Jun 19, 3:18 pm)
Re: [LAD] [RFC] LADSPA 1.2, Krzysztof Foltman, (Thu Jun 18, 10:36 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Thu Jun 18, 5:55 pm)
Re: [LAD] [RFC] LADSPA 1.2, Fons Adriaensen, (Thu Jun 18, 6:34 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Thu Jun 18, 6:54 pm)
Re: [LAD] [RFC] LADSPA 1.2, Fons Adriaensen, (Thu Jun 18, 7:31 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Thu Jun 18, 8:50 pm)
Re: [LAD] [RFC] LADSPA 1.2, Fons Adriaensen, (Thu Jun 18, 9:33 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Thu Jun 18, 10:13 pm)
Re: [LAD] [RFC] LADSPA 1.2, Fons Adriaensen, (Thu Jun 18, 10:58 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Thu Jun 18, 11:44 pm)
Re: [LAD] [RFC] LADSPA 1.2, Luis Garrido, (Thu Jun 18, 6:31 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Thu Jun 18, 6:46 pm)
Re: [LAD] [RFC] LADSPA 1.2, Fons Adriaensen, (Thu Jun 18, 6:57 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Thu Jun 18, 6:58 pm)
Re: [LAD] [RFC] LADSPA 1.2, Damon Chaplin, (Thu Jun 18, 8:39 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Thu Jun 18, 8:52 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefano D'Angelo, (Thu Jun 18, 6:48 pm)
Re: [LAD] [RFC] LADSPA 1.2, Stefan Kost, (Tue Jun 23, 7:52 am)
Re: [LAD] [RFC] LADSPA 1.2, Krzysztof Foltman, (Tue Jun 23, 8:34 am)
Re: [LAD] [RFC] LADSPA 1.2, Jörn Nettingsmeier, (Thu Jun 18, 5:53 pm)