bf3fe05dfb
This needs some more testing before it's on by default. If the card is otherwise functioning, these messages may be confusing to the user. If the card is not functioning, the driver can be reloaded with debug to check for this condition. Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9205 a0bf4364-ded3-4de4-8d8a-66a801d63aff
49 lines
1.0 KiB
C
49 lines
1.0 KiB
C
/*
|
|
* ADT Line Echo Canceller Parameter Parsing
|
|
*
|
|
* Copyright (C) 2008 Digium, Inc.
|
|
*
|
|
* Kevin P. Fleming <kpfleming@digium.com>
|
|
*
|
|
* All rights reserved.
|
|
*/
|
|
|
|
/*
|
|
* See http://www.asterisk.org for more information about
|
|
* the Asterisk project. Please do not directly contact
|
|
* any of the maintainers of this project for assistance;
|
|
* the project provides a web site, mailing lists and IRC
|
|
* channels for your use.
|
|
*
|
|
* This program is free software, distributed under the terms of
|
|
* the GNU General Public License Version 2 as published by the
|
|
* Free Software Foundation. See the LICENSE file included with
|
|
* this program for more details.
|
|
*/
|
|
|
|
#ifndef _ADT_LEC_H
|
|
#define _ADT_LEC_H
|
|
|
|
enum adt_lec_nlp_type {
|
|
ADT_LEC_NLP_OFF = 0,
|
|
ADT_LEC_NLP_MUTE,
|
|
ADT_LEC_RANDOM_NOISE,
|
|
ADT_LEC_HOTH_NOISE,
|
|
ADT_LEC_SUPPRESS,
|
|
};
|
|
|
|
enum adt_companding {
|
|
ADT_COMP_ULAW = 0,
|
|
ADT_COMP_ALAW,
|
|
};
|
|
|
|
struct adt_lec_params {
|
|
__u32 tap_length;
|
|
enum adt_lec_nlp_type nlp_type;
|
|
__u32 nlp_threshold;
|
|
__u32 nlp_max_suppress;
|
|
enum adt_companding companding;
|
|
};
|
|
|
|
#endif /* _ADT_LEC_H */
|