LMMS
Loading...
Searching...
No Matches
ladspa_types.h
Go to the documentation of this file.
1/* ladspa_types.h
2
3 Computer Music Toolkit - a library of LADSPA plugins. Copyright (C)
4 2000 Richard W.E. Furse.
5
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public Licence as
8 published by the Free Software Foundation; either version 2 of the
9 Licence, or (at your option) any later version.
10
11 This library is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this library; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19 02111-1307, USA. */
20
21#ifndef CMT_LADSPA_TYPES_INCLUDED
22#define CMT_LADSPA_TYPES_INCLUDED
23
24/*****************************************************************************/
25
26#include <ladspa.h>
27
28/* Compatibility hack for version 1.0. */
29#ifndef LADSPA_VERSION_MAJOR
30#define LADSPA_HINT_DEFAULT_MINIMUM 0x40
31#define LADSPA_HINT_DEFAULT_LOW 0x80
32#define LADSPA_HINT_DEFAULT_MIDDLE 0xC0
33#define LADSPA_HINT_DEFAULT_HIGH 0x100
34#define LADSPA_HINT_DEFAULT_MAXIMUM 0x140
35#define LADSPA_HINT_DEFAULT_0 0x200
36#define LADSPA_HINT_DEFAULT_1 0x240
37#define LADSPA_HINT_DEFAULT_100 0x280
38#define LADSPA_HINT_DEFAULT_440 0x2C0
39#endif
40
41/*****************************************************************************/
42
44 (const struct _LADSPA_Descriptor * Descriptor,
45 unsigned long SampleRate);
46
48 (LADSPA_Handle Instance,
49 unsigned long Port,
50 LADSPA_Data * DataLocation);
51
53 (LADSPA_Handle Instance);
54
56 (LADSPA_Handle Instance,
57 unsigned long SampleCount);
58
60 (LADSPA_Handle Instance,
61 unsigned long SampleCount);
62
64 (LADSPA_Handle Instance,
65 LADSPA_Data Gain);
66
68 (LADSPA_Handle Instance);
69
71 (LADSPA_Handle Instance);
72
74
75/*****************************************************************************/
76
77#endif
78
79/* EOF */
Definition Descriptor.h:84
float LADSPA_Data
Definition ladspa.h:84
void * LADSPA_Handle
Definition ladspa.h:363
void(* LADSPA_Run_Adding_Function)(LADSPA_Handle Instance, unsigned long SampleCount)
Definition ladspa_types.h:60
void(* LADSPA_Connect_Port_Function)(LADSPA_Handle Instance, unsigned long Port, LADSPA_Data *DataLocation)
Definition ladspa_types.h:48
void(* LADSPA_Set_Run_Adding_Gain_Function)(LADSPA_Handle Instance, LADSPA_Data Gain)
Definition ladspa_types.h:64
void(* LADSPA_Activate_Function)(LADSPA_Handle Instance)
Definition ladspa_types.h:53
LADSPA_Handle(* LADSPA_Instantiate_Function)(const struct _LADSPA_Descriptor *Descriptor, unsigned long SampleRate)
Definition ladspa_types.h:44
void(* LADSPA_Run_Function)(LADSPA_Handle Instance, unsigned long SampleCount)
Definition ladspa_types.h:56
void(* LADSPA_Deactivate_Function)(LADSPA_Handle Instance)
Definition ladspa_types.h:68
LADSPA_Data * LADSPA_Data_ptr
Definition ladspa_types.h:73
void(* LADSPA_Cleanup_Function)(LADSPA_Handle Instance)
Definition ladspa_types.h:71
Definition ladspa.h:373
Definition lv2apply.c:40
#define void
Definition unzip.h:396