Mercurial > audlegacy
comparison audacious/iir_fpu.h @ 430:67cd014f35a2 trunk
[svn] This commit rips out the old equalization engine with a dynamic engine
that can be extended all the way up to 128 bands.
author | nenolod |
---|---|
date | Sat, 14 Jan 2006 16:49:00 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
429:e9569b4111b4 | 430:67cd014f35a2 |
---|---|
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_fpu.h,v 1.2 2005/11/01 15:59:20 lisanet Exp $$ | |
21 */ | |
22 #ifndef IIR_FPU_H | |
23 #define IIR_FPU_H | |
24 | |
25 #define sample_t double | |
26 | |
27 /* | |
28 * Normal FPU implementation data structures | |
29 */ | |
30 /* Coefficient history for the IIR filter */ | |
31 typedef struct | |
32 { | |
33 sample_t x[3]; /* x[n], x[n-1], x[n-2] */ | |
34 sample_t y[3]; /* y[n], y[n-1], y[n-2] */ | |
35 sample_t dummy1; // Word alignment | |
36 sample_t dummy2; | |
37 }sXYData; | |
38 | |
39 #endif |