# NCC.X.ADI_START.echocancel

The following table describes NCC.X.ADI_START.echocancel parameters:

NCC.X.ADI_START.echocancel
Dependent functions: nccStartProtocol
Field | Type | Default | Units | Description
--- | --- | --- | --- | ---
adapttime | DWORD | 0 | ms | Echo canceller adaptation time for MODE=2. The valid AG and CG range is 100 to 1000. Smaller values require more DSP processing power. Not used for QX boards.
filterlength | DWORD | 0 | ms | Filter length of echo canceller for MODE=2. Valid range is 2 to 20. Greater values require more DSP processing power.
gain | INT32 | 0 | dB | Amount of amplification applied to echo cancelled output. Valid AG and CG range is -54 to 24. Done by the AGC module for QX boards.
mode | DWORD | 0 | integer | Controls echo canceller operation: A value can be formed by using the OR operator with any of the following bit masks or by using one of the specified constants: NCC_ECHOCANCEL_DEFAULT (1): Choose the default length and adapt time based on board type. (For AG 4000/C and AG 4040/C boards, the default is for no echo cancel.) For more information, see the ADI Service Developer's Reference Manual. NCC_ECHOCANCEL_CUSTOM (2): Use specified length and adapt time. Default = 0: No echo cancellation.
predelay | DWORD | 0 | ms | Output sample delay. Valid range is 0 to 9.