diff options
author | Matthew Fredrickson <creslin@digium.com> | 2009-10-02 16:31:58 +0000 |
---|---|---|
committer | Matthew Fredrickson <creslin@digium.com> | 2009-10-02 16:31:58 +0000 |
commit | edad00b3c06d0f574f6d607cebfb3e96a9832979 (patch) | |
tree | 74df9558f4d5f54c6a03a8d0630d1355f2e0bf83 /drivers/dahdi/adt_lec.c | |
parent | 2baba3425563c7293163d711e481516ae2b59246 (diff) |
Implement API update to do per-channel companding selection for VPMADT032
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7309 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/adt_lec.c')
-rw-r--r-- | drivers/dahdi/adt_lec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/dahdi/adt_lec.c b/drivers/dahdi/adt_lec.c index 02c1322..18de6c0 100644 --- a/drivers/dahdi/adt_lec.c +++ b/drivers/dahdi/adt_lec.c @@ -29,8 +29,10 @@ static inline void adt_lec_init_defaults(struct adt_lec_params *params, __u32 tap_length) { - memset(params, 0, sizeof(*params)); params->tap_length = tap_length; + params->nlp_type = 0; + params->nlp_max_suppress = 0; + params->nlp_threshold = 0; } static int adt_lec_parse_params(struct adt_lec_params *params, |