Mercurial > audlegacy
annotate src/audacious/iir_fpu.h @ 3780:ec989c2cde74
Make selective subtunes support actually work.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 18 Oct 2007 01:30:05 +0300 |
parents | 3b6d316f8b09 |
children |
rev | line source |
---|---|
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 | |
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
2313
diff
changeset
|
8 * the Free Software Foundation; either version 3 of the License, or |
2313 | 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 | |
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
2313
diff
changeset
|
17 * along with this program. If not, see <http://www.gnu.org/licenses>. |
2313 | 18 * |
19 * $Id: iir_fpu.h,v 1.2 2005/11/01 15:59:20 lisanet Exp $$ | |
20 */ | |
21 #ifndef IIR_FPU_H | |
22 #define IIR_FPU_H | |
23 | |
24 #define sample_t double | |
25 | |
26 /* | |
27 * Normal FPU implementation data structures | |
28 */ | |
29 /* Coefficient history for the IIR filter */ | |
30 typedef struct | |
31 { | |
32 sample_t x[3]; /* x[n], x[n-1], x[n-2] */ | |
33 sample_t y[3]; /* y[n], y[n-1], y[n-2] */ | |
34 sample_t dummy1; // Word alignment | |
35 sample_t dummy2; | |
36 }sXYData; | |
37 | |
38 #endif |