diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dahdi/biquad.h | 12 | ||||
-rw-r--r-- | drivers/dahdi/dahdi-base.c | 1 | ||||
-rw-r--r-- | drivers/dahdi/ecdis.h | 12 |
3 files changed, 1 insertions, 24 deletions
diff --git a/drivers/dahdi/biquad.h b/drivers/dahdi/biquad.h index 4fe8cd8..ea2c83d 100644 --- a/drivers/dahdi/biquad.h +++ b/drivers/dahdi/biquad.h @@ -25,18 +25,6 @@ * this program for more details. */ -typedef struct -{ - int32_t gain; - int32_t a1; - int32_t a2; - int32_t b1; - int32_t b2; - - int32_t z1; - int32_t z2; -} biquad2_state_t; - static inline void biquad2_init (biquad2_state_t *bq, int32_t gain, int32_t a1, diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c index 1d3c92a..01197b8 100644 --- a/drivers/dahdi/dahdi-base.c +++ b/drivers/dahdi/dahdi-base.c @@ -82,6 +82,7 @@ /* Grab fasthdlc with tables */ #define FAST_HDLC_NEED_TABLES #include <dahdi/kernel.h> +#include "ecdis.h" #include "hpec/hpec_user.h" diff --git a/drivers/dahdi/ecdis.h b/drivers/dahdi/ecdis.h index 87abf48..205b2e3 100644 --- a/drivers/dahdi/ecdis.h +++ b/drivers/dahdi/ecdis.h @@ -28,18 +28,6 @@ #include "biquad.h" -typedef struct -{ - biquad2_state_t notch; - int notch_level; - int channel_level; - int tone_present; - int tone_cycle_duration; - int good_cycles; - int hit; -} echo_can_disable_detector_state_t; - - #define FALSE 0 #define TRUE (!FALSE) |