#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include "echo.h"
Go to the source code of this file.
#define DC_LOG2BETA 3 /* log2() of DC filter Beta */ |
#define DTD_HANGOVER 600 /* 600 samples, or 75ms */ |
#define MIN_RX_POWER_FOR_ADAPTION 64 |
#define MIN_TX_POWER_FOR_ADAPTION 64 |
MODULE_AUTHOR |
( |
"David Rowe" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Open Source Line Echo Canceller" |
| ) |
|
MODULE_VERSION |
( |
"0.3.0" |
| ) |
|
oslec_adaption_mode - set the adaption mode of a voice echo canceller context. The echo canceller context. : The mode.
Definition at line 295 of file echo.c.
oslec_create - Create a voice echo canceller context. : The length of the canceller, in samples.
- Returns
- : The new canceller context, or NULL if the canceller could not be created.
Definition at line 229 of file echo.c.
oslec_flush - Flush (reinitialise) a voice echo canceller context. : The echo canceller context.
Definition at line 301 of file echo.c.
oslec_free - Free a voice echo canceller context. : The echo canceller context.
Definition at line 282 of file echo.c.
oslec_hpf_tx: Process to high pass filter the tx signal. : The echo canceller context. : The transmitted auio sample.
The return value is the HP filtered transmit sample, send this to your D/A.
Definition at line 627 of file echo.c.
oslec_update: Process a sample through a voice echo canceller. : The echo canceller context. : The transmitted audio sample. : The received audio sample.
The return value is the clean (echo cancelled) received sample.
Definition at line 335 of file echo.c.