5 * Copyright (C) 2002-2005 Monty and Xiph.Org
7 * Postfish is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
12 * Postfish is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Postfish; see the file COPYING. If not, write to the
19 * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
29 sig_atomic_t settings
[eq_freqs
];
30 sig_atomic_t panel_active
;
31 sig_atomic_t panel_visible
;
32 sig_atomic_t curve_dirty
;
37 static const float eq_freq_list
[eq_freqs
+1]={
39 100,125,160,200,250,315,
40 400,500,630,800,1000,1250,1600,
41 2000,2500,3150,4000,5000,6300,
42 8000,10000,12500,16000,20000,9e10
};
44 static char * const eq_freq_labels
[eq_freqs
]={
45 "25","31.5","40","50","63","80",
46 "100","125","160","200","250","315",
47 "400","500","630","800","1k","1.2k","1.6k",
48 "2k","2.5k","3.1k","4k","5k","6.3k",
49 "8k","10k","12.5k","16k","20k"
52 extern int pull_eq_feedback_master(float **peak
,float **rms
);
53 extern int pull_eq_feedback_channel(float **peak
,float **rms
);
54 extern int eq_load(int ch
);
55 extern int eq_reset();
56 extern void eq_set(eq_settings
*eq
,int freq
, float value
);
57 extern time_linkage
*eq_read_master(time_linkage
*in
);
58 extern time_linkage
*eq_read_channel(time_linkage
*in
);
60 extern eq_settings eq_master_set
;
61 extern eq_settings
*eq_channel_set
;