diff options
Diffstat (limited to 'apps/eq.h')
-rw-r--r-- | apps/eq.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -7,7 +7,7 @@ | |||
7 | * \/ \/ \/ \/ \/ | 7 | * \/ \/ \/ \/ \/ |
8 | * $Id$ | 8 | * $Id$ |
9 | * | 9 | * |
10 | * Copyright (C) 2006 Thom Johansen | 10 | * Copyright (C) 2006-2007 Thom Johansen |
11 | * | 11 | * |
12 | * All files in this archive are subject to the GNU General Public License. | 12 | * All files in this archive are subject to the GNU General Public License. |
13 | * See the file COPYING in the source tree root for full license agreement. | 13 | * See the file COPYING in the source tree root for full license agreement. |
@@ -25,6 +25,7 @@ | |||
25 | /* These depend on the fixed point formats used by the different filter types | 25 | /* These depend on the fixed point formats used by the different filter types |
26 | and need to be changed when they change. | 26 | and need to be changed when they change. |
27 | */ | 27 | */ |
28 | #define FILTER_BISHELF_SHIFT 5 | ||
28 | #define EQ_PEAK_SHIFT 4 | 29 | #define EQ_PEAK_SHIFT 4 |
29 | #define EQ_SHELF_SHIFT 6 | 30 | #define EQ_SHELF_SHIFT 6 |
30 | 31 | ||
@@ -33,7 +34,9 @@ struct eqfilter { | |||
33 | int32_t history[2][4]; | 34 | int32_t history[2][4]; |
34 | }; | 35 | }; |
35 | 36 | ||
36 | void filter_bishelf_coefs(unsigned long cutoff, long ad, long an, int32_t *c); | 37 | void filter_shelf_coefs(unsigned long cutoff, long ad, long an, int32_t *c); |
38 | void filter_bishelf_coefs(unsigned long cutoff_low, unsigned long cutoff_high, | ||
39 | long A_low, long A_high, long A, int32_t *c); | ||
37 | void eq_pk_coefs(unsigned long cutoff, unsigned long Q, long db, int32_t *c); | 40 | void eq_pk_coefs(unsigned long cutoff, unsigned long Q, long db, int32_t *c); |
38 | void eq_ls_coefs(unsigned long cutoff, unsigned long Q, long db, int32_t *c); | 41 | void eq_ls_coefs(unsigned long cutoff, unsigned long Q, long db, int32_t *c); |
39 | void eq_hs_coefs(unsigned long cutoff, unsigned long Q, long db, int32_t *c); | 42 | void eq_hs_coefs(unsigned long cutoff, unsigned long Q, long db, int32_t *c); |