1 /*
2 
3     (c) Fraser Stuart 2009
4 
5     This program is free software; you can redistribute it and/or modify
6     it under the terms of the GNU General Public License as published by
7     the Free Software Foundation; either version 2 of the License, or
8     (at your option) any later version.
9 
10     This program is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13     GNU General Public License for more details.
14 
15     You should have received a copy of the GNU General Public License
16     along with this program; if not, write to the Free Software
17     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 
19 */
20 
21 #define ICOMP_GUI_URI		"http://invadarecords.com/plugins/lv2/compressor/gui"
22 #define ICOMP_MONO_URI		"http://invadarecords.com/plugins/lv2/compressor/mono"
23 #define ICOMP_STEREO_URI	"http://invadarecords.com/plugins/lv2/compressor/stereo"
24 #define ICOMP_BYPASS 		0
25 #define ICOMP_RMS 		1
26 #define ICOMP_ATTACK 		2
27 #define ICOMP_RELEASE 		3
28 #define ICOMP_THRESH 		4
29 #define ICOMP_RATIO 		5
30 #define ICOMP_GAIN 		6
31 #define ICOMP_NOCLIP 		7
32 #define ICOMP_METER_GR 		8
33 #define ICOMP_METER_DRIVE	9
34 #define ICOMP_METER_INL		10
35 #define ICOMP_METER_OUTL	11
36 #define ICOMP_AUDIO_INPUTL  	12
37 #define ICOMP_AUDIO_OUTPUTL 	13
38 #define ICOMP_METER_INR		14  /* not used in mono mode */
39 #define ICOMP_METER_OUTR	15  /* not used in mono mode */
40 #define ICOMP_AUDIO_INPUTR  	16  /* not used in mono mode */
41 #define ICOMP_AUDIO_OUTPUTR 	17  /* not used in mono mode */
42 
43 float convertParam(unsigned long param, float value, double sr);
44 
45 
46 
47