[linux-audio-dev] Re: New LADSPA Hints (Was: [ANNOUNCE] tapiir-0.7.1)

Steve Harris S.W.Harris at ecs.soton.ac.uk
Sat Mar 1 04:58:01 UTC 2003


On Fri, Feb 28, 2003 at 04:26:23 -0500, Jesse Chappell wrote:
> Mike Rawes wrote on Fri, 28-Feb-2003:
> 
>  > /* Hint MOMENTARY indicates that that a control should behave like a
>  >    momentary switch, such as a reset or sync control. LADSPA_HINT_MOMENTARY
>  >    may only be used in combination with LADSPA_HINT_TOGGLED. */
>  > #define LADSPA_HINT_MOMENTARY       0x40
>  
> There is no reason MOMENTARY needs to be restricted to TOGGLED
> controls.  There just needs to be a hint to specify what the "inactive"
> value should be, which is the value that a compliant host must set the
> port to after using a MOMENTARY with an "active" value.

I guess thats true, but if its retricted to toggled ports it will still be
usable in non compliant hosts, and the value has to switch between two
values, so it may as well be 0.0 and 1.0.

- Steve



More information about the Linux-audio-dev mailing list