2313
|
1 /*
|
|
2 * PCM time-domain equalizer
|
|
3 *
|
|
4 * Copyright (C) 2002-2005 Felipe Rivera <liebremx at users.sourceforge.net>
|
|
5 *
|
|
6 * This program is free software; you can redistribute it and/or modify
|
|
7 * it under the terms of the GNU General Public License as published by
|
|
8 * the Free Software Foundation; either version 2 of the License, or
|
|
9 * (at your option) any later version.
|
|
10 *
|
|
11 * This program is distributed in the hope that it will be useful,
|
|
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14 * GNU General Public License for more details.
|
|
15 *
|
|
16 * You should have received a copy of the GNU General Public License
|
|
17 * along with this program; if not, write to the Free Software
|
|
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
19 *
|
|
20 * $Id: iir_cfs.h,v 1.1 2005/10/17 01:57:59 liebremx Exp $
|
|
21 */
|
|
22 #ifndef IIR_CFS_H
|
|
23 #define IIR_CFS_H
|
|
24
|
|
25 #include <glib.h>
|
|
26
|
|
27 /* Coefficients entry */
|
|
28 typedef struct
|
|
29 {
|
|
30 float beta;
|
|
31 float alpha;
|
|
32 float gamma;
|
|
33 float dummy; // Word alignment
|
|
34 }sIIRCoefficients;
|
|
35
|
|
36 sIIRCoefficients* get_coeffs(gint *bands, gint sfreq,
|
|
37 gboolean use_xmms_original_freqs);
|
|
38 void calc_coeffs();
|
|
39
|
|
40 #endif
|