| 1 |
/* |
| 2 |
* ADT Line Echo Canceller Parameter Parsing |
| 3 |
* |
| 4 |
* Copyright (C) 2008 Digium, Inc. |
| 5 |
* |
| 6 |
* Kevin P. Fleming <[email protected]> |
| 7 |
* |
| 8 |
* All rights reserved. |
| 9 |
*/ |
| 10 |
|
| 11 |
/* |
| 12 |
* See http://www.asterisk.org for more information about |
| 13 |
* the Asterisk project. Please do not directly contact |
| 14 |
* any of the maintainers of this project for assistance; |
| 15 |
* the project provides a web site, mailing lists and IRC |
| 16 |
* channels for your use. |
| 17 |
* |
| 18 |
* This program is free software, distributed under the terms of |
| 19 |
* the GNU General Public License Version 2 as published by the |
| 20 |
* Free Software Foundation. See the LICENSE file included with |
| 21 |
* this program for more details. |
| 22 |
*/ |
| 23 |
|
| 24 |
#ifndef _ADT_LEC_H |
| 25 |
#define _ADT_LEC_H |
| 26 |
|
| 27 |
enum adt_lec_nlp_type { |
| 28 |
ADT_LEC_NLP_OFF = 0, |
| 29 |
ADT_LEC_NLP_MUTE, |
| 30 |
ADT_LEC_RANDOM_NOISE, |
| 31 |
ADT_LEC_HOTH_NOISE, |
| 32 |
ADT_LEC_SUPPRESS, |
| 33 |
}; |
| 34 |
|
| 35 |
enum adt_companding { |
| 36 |
ADT_COMP_ULAW = 0, |
| 37 |
ADT_COMP_ALAW, |
| 38 |
}; |
| 39 |
|
| 40 |
struct adt_lec_params { |
| 41 |
__u32 tap_length; |
| 42 |
enum adt_lec_nlp_type nlp_type; |
| 43 |
__u32 nlp_threshold; |
| 44 |
__u32 nlp_max_suppress; |
| 45 |
enum adt_companding companding; |
| 46 |
}; |
| 47 |
|
| 48 |
#endif /* _ADT_LEC_H */ |