[linux-audio-dev] +momentary, consolidated (ladspa.h.diff)

Steve Harris S.W.Harris at ecs.soton.ac.uk
Tue Mar 9 13:55:45 UTC 2004


On Tue, Mar 09, 2004 at 01:51:56 +0100, Alfons Adriaensen wrote:
> On Tue, Mar 09, 2004 at 08:43:18AM +0000, Steve Harris wrote:
> 
> > I disagree: if I have a control thats "wave, INTEGER where 1=sin, 2=tri,
> > 3=sqa, 4=saw" and one which is the same less the INTEGER hint (ie. it
> > crossfades) then the enumeration points are no less importanti in the
> > non-INTEGER case.
> 
> OK, then we allow HINT_ENUMERATED for float ports as well, and provide
> a string (or NULL pointer) for each integer in the range. I proposed this
> before IIRC.
> 
> I think that in a case like this, you will always be able to map the
> 'important points' to integers.

When your dealing with phases or angles, it will be inconvienent. Even if
you use degrees, it will be anoying to have 360 (or 400, i18n :) points,
only 4 of which have labels.

Ditto for tape simulations, the speeds are 76, 38, 19 and 9.5 cm/s (30,
15, 7.5 and 3.75 inches/s).

Tim sent a mail a few days ago with some other examples where integers are
not the significnat points.

- Steve



More information about the Linux-audio-dev mailing list