summaryrefslogtreecommitdiff
path: root/apps/eq.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/eq.h')
-rw-r--r--apps/eq.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/eq.h b/apps/eq.h
index 095c8e82f0..83d235959d 100644
--- a/apps/eq.h
+++ b/apps/eq.h
@@ -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
36void filter_bishelf_coefs(unsigned long cutoff, long ad, long an, int32_t *c); 37void filter_shelf_coefs(unsigned long cutoff, long ad, long an, int32_t *c);
38void filter_bishelf_coefs(unsigned long cutoff_low, unsigned long cutoff_high,
39 long A_low, long A_high, long A, int32_t *c);
37void eq_pk_coefs(unsigned long cutoff, unsigned long Q, long db, int32_t *c); 40void eq_pk_coefs(unsigned long cutoff, unsigned long Q, long db, int32_t *c);
38void eq_ls_coefs(unsigned long cutoff, unsigned long Q, long db, int32_t *c); 41void eq_ls_coefs(unsigned long cutoff, unsigned long Q, long db, int32_t *c);
39void eq_hs_coefs(unsigned long cutoff, unsigned long Q, long db, int32_t *c); 42void eq_hs_coefs(unsigned long cutoff, unsigned long Q, long db, int32_t *c);