22#ifndef LADSPA_INCLUDED
23#define LADSPA_INCLUDED
25#define LADSPA_VERSION "1.1"
26#define LADSPA_VERSION_MAJOR 1
27#define LADSPA_VERSION_MINOR 1
99#define LADSPA_PROPERTY_REALTIME 0x1
106#define LADSPA_PROPERTY_INPLACE_BROKEN 0x2
132#define LADSPA_PROPERTY_HARD_RT_CAPABLE 0x4
134#define LADSPA_IS_REALTIME(x) ((x) & LADSPA_PROPERTY_REALTIME)
135#define LADSPA_IS_INPLACE_BROKEN(x) ((x) & LADSPA_PROPERTY_INPLACE_BROKEN)
136#define LADSPA_IS_HARD_RT_CAPABLE(x) ((x) & LADSPA_PROPERTY_HARD_RT_CAPABLE)
155#define LADSPA_PORT_INPUT 0x1
158#define LADSPA_PORT_OUTPUT 0x2
162#define LADSPA_PORT_CONTROL 0x4
166#define LADSPA_PORT_AUDIO 0x8
168#define LADSPA_IS_PORT_INPUT(x) ((x) & LADSPA_PORT_INPUT)
169#define LADSPA_IS_PORT_OUTPUT(x) ((x) & LADSPA_PORT_OUTPUT)
170#define LADSPA_IS_PORT_CONTROL(x) ((x) & LADSPA_PORT_CONTROL)
171#define LADSPA_IS_PORT_AUDIO(x) ((x) & LADSPA_PORT_AUDIO)
208#define LADSPA_HINT_BOUNDED_BELOW 0x1
216#define LADSPA_HINT_BOUNDED_ABOVE 0x2
224#define LADSPA_HINT_TOGGLED 0x4
232#define LADSPA_HINT_SAMPLE_RATE 0x8
237#define LADSPA_HINT_LOGARITHMIC 0x10
245#define LADSPA_HINT_INTEGER 0x20
258#define LADSPA_HINT_DEFAULT_MASK 0x3C0
261#define LADSPA_HINT_DEFAULT_NONE 0x0
265#define LADSPA_HINT_DEFAULT_MINIMUM 0x40
272#define LADSPA_HINT_DEFAULT_LOW 0x80
279#define LADSPA_HINT_DEFAULT_MIDDLE 0xC0
286#define LADSPA_HINT_DEFAULT_HIGH 0x100
290#define LADSPA_HINT_DEFAULT_MAXIMUM 0x140
295#define LADSPA_HINT_DEFAULT_0 0x200
300#define LADSPA_HINT_DEFAULT_1 0x240
303#define LADSPA_HINT_DEFAULT_100 0x280
308#define LADSPA_HINT_DEFAULT_440 0x2C0
310#define LADSPA_IS_HINT_BOUNDED_BELOW(x) ((x) & LADSPA_HINT_BOUNDED_BELOW)
311#define LADSPA_IS_HINT_BOUNDED_ABOVE(x) ((x) & LADSPA_HINT_BOUNDED_ABOVE)
312#define LADSPA_IS_HINT_TOGGLED(x) ((x) & LADSPA_HINT_TOGGLED)
313#define LADSPA_IS_HINT_SAMPLE_RATE(x) ((x) & LADSPA_HINT_SAMPLE_RATE)
314#define LADSPA_IS_HINT_LOGARITHMIC(x) ((x) & LADSPA_HINT_LOGARITHMIC)
315#define LADSPA_IS_HINT_INTEGER(x) ((x) & LADSPA_HINT_INTEGER)
317#define LADSPA_IS_HINT_HAS_DEFAULT(x) ((x) & LADSPA_HINT_DEFAULT_MASK)
318#define LADSPA_IS_HINT_DEFAULT_MINIMUM(x) (((x) & LADSPA_HINT_DEFAULT_MASK) \
319 == LADSPA_HINT_DEFAULT_MINIMUM)
320#define LADSPA_IS_HINT_DEFAULT_LOW(x) (((x) & LADSPA_HINT_DEFAULT_MASK) \
321 == LADSPA_HINT_DEFAULT_LOW)
322#define LADSPA_IS_HINT_DEFAULT_MIDDLE(x) (((x) & LADSPA_HINT_DEFAULT_MASK) \
323 == LADSPA_HINT_DEFAULT_MIDDLE)
324#define LADSPA_IS_HINT_DEFAULT_HIGH(x) (((x) & LADSPA_HINT_DEFAULT_MASK) \
325 == LADSPA_HINT_DEFAULT_HIGH)
326#define LADSPA_IS_HINT_DEFAULT_MAXIMUM(x) (((x) & LADSPA_HINT_DEFAULT_MASK) \
327 == LADSPA_HINT_DEFAULT_MAXIMUM)
328#define LADSPA_IS_HINT_DEFAULT_0(x) (((x) & LADSPA_HINT_DEFAULT_MASK) \
329 == LADSPA_HINT_DEFAULT_0)
330#define LADSPA_IS_HINT_DEFAULT_1(x) (((x) & LADSPA_HINT_DEFAULT_MASK) \
331 == LADSPA_HINT_DEFAULT_1)
332#define LADSPA_IS_HINT_DEFAULT_100(x) (((x) & LADSPA_HINT_DEFAULT_MASK) \
333 == LADSPA_HINT_DEFAULT_100)
334#define LADSPA_IS_HINT_DEFAULT_440(x) (((x) & LADSPA_HINT_DEFAULT_MASK) \
335 == LADSPA_HINT_DEFAULT_440)
438 unsigned long SampleRate);
506 unsigned long SampleCount);
522 unsigned long SampleCount);
593(*LADSPA_Descriptor_Function)(
unsigned long Index);
struct _LADSPA_PortRangeHint LADSPA_PortRangeHint
int LADSPA_PortRangeHintDescriptor
int LADSPA_PortDescriptor
const LADSPA_Descriptor * ladspa_descriptor(unsigned long Index)
struct _LADSPA_Descriptor LADSPA_Descriptor
_LADSPA_Descriptor is a structure that provides the API to a LADSPA (Linux Audio Plugin Architecture)...
void(* set_run_adding_gain)(LADSPA_Handle Instance, LADSPA_Data Gain)
LADSPA_Handle(* instantiate)(const struct _LADSPA_Descriptor *Descriptor, unsigned long SampleRate)
void(* deactivate)(LADSPA_Handle Instance)
void(* cleanup)(LADSPA_Handle Instance)
const char *const * PortNames
void(* run)(LADSPA_Handle Instance, unsigned long SampleCount)
void(* activate)(LADSPA_Handle Instance)
LADSPA_Properties Properties
void * ImplementationData
void(* connect_port)(LADSPA_Handle Instance, unsigned long Port, LADSPA_Data *DataLocation)
const LADSPA_PortDescriptor * PortDescriptors
void(* run_adding)(LADSPA_Handle Instance, unsigned long SampleCount)
const LADSPA_PortRangeHint * PortRangeHints
_LADSPA_PortRangeHint is a structure that gives parameter validation information for a LADSPA (Linux ...
LADSPA_PortRangeHintDescriptor HintDescriptor