diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-03-16 17:45:46 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-03-16 17:45:46 +0000 |
commit | 96eca5d72ab2e0b4646df50d73285ed73922dcb7 (patch) | |
tree | f6cbb15bbfc3a1c51a6c5ab87e686cd6ac278b79 /include/dahdi/kernel.h | |
parent | 1956a5ce6f90e55f2dbd763746f1e43ae9543be8 (diff) |
Make ecdis.h used by dahdi-base.h alone
ecdis.h is no longer #include-d in kernel.h . it was there because of
decleration of some structs that are part of struct dahdi_chan. The
declerations of those structs were moved into kernel.h directly.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6170 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include/dahdi/kernel.h')
-rw-r--r-- | include/dahdi/kernel.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index f5d335b..8be64ab 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -96,7 +96,28 @@ #define RING_DEBOUNCE_TIME 2000 /*!< 2000 ms ring debounce time */ -#include "ecdis.h" +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; + +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; struct sf_detect_state { long x1; |