--- /usr/include/ladspa.h 2003-04-05 01:10:32.000000000 -0500 +++ ladspa-1.2.h 2003-09-08 21:24:05.000000000 -0400 @@ -22,9 +22,9 @@ #ifndef LADSPA_INCLUDED #define LADSPA_INCLUDED -#define LADSPA_VERSION "1.1" +#define LADSPA_VERSION "1.2" #define LADSPA_VERSION_MAJOR 1 -#define LADSPA_VERSION_MINOR 1 +#define LADSPA_VERSION_MINOR 2 #ifdef __cplusplus extern "C" { @@ -223,6 +223,12 @@ LADSPA_HINT_DEFAULT_1. */ #define LADSPA_HINT_TOGGLED 0x4 +/* HINT LADSPA_HINT_MOMENTARY indicates that a control should behave like + a momentary switch, eg. on for as long as the user holds down the key/mouse + button/whatever. Useful for reset or sync controls for example. Would be + useful in the DJ flanger. Only applies to TOGGLED controls. */ +#define LADSPA_HINT_MOMENTARY 0x404 + /* Hint LADSPA_HINT_SAMPLE_RATE indicates that any bounds specified should be interpreted as multiples of the sample rate. For instance, a frequency range from 0Hz to the Nyquist frequency (half @@ -244,6 +250,14 @@ 3.1]. */ #define LADSPA_HINT_INTEGER 0x20 +/* Hint LADSPA_HINT_RANDOMISIBLE indicates that its useful/meaningful + to randomise the port if the user hits a button. This is useful for + the steps of control sequencers, reverbs, and just about anything that is + complex. Allows you to specify which controls can be randomised without + anything too suprising happening to the user (eg. sudden +100dB gain would + be unpleasant). */ +#define LADSPA_HINT_RANDOMISABLE 0x800 + /* The various LADSPA_HINT_HAS_DEFAULT_* hints indicate a `normal' value for the port that is sensible as a default. For instance, this value is suitable for use as an initial value in a user