#include "fir.h"
Go to the source code of this file.
§ modem_echo_can_state_t
Modem line echo canceller descriptor. This defines the working state for a line echo canceller.
§ modem_echo_can_adaption_mode()
Set the adaption mode of a modem echo canceller context.
- Parameters
-
ec | The echo canceller context. |
adapt | The mode. |
§ modem_echo_can_flush()
Flush (reinitialise) a modem echo canceller context.
- Parameters
-
ec | The echo canceller context. |
§ modem_echo_can_free()
Free a modem echo canceller context.
- Parameters
-
ec | The echo canceller context. |
§ modem_echo_can_init()
Create a modem echo canceller context.
- Parameters
-
len | The length of the canceller, in samples. eturn The new canceller context, or NULL if the canceller could not be created. |
§ modem_echo_can_update()
Process a sample through a modem echo canceller.
- Parameters
-
ec | The echo canceller context. |
tx | The transmitted audio sample. |
rx | The received audio sample. eturn The clean (echo cancelled) received sample. |