#include <inttypes.h>
#include <stdlib.h>
#include <math.h>
#include "spandsp/telephony.h"
#include "spandsp/biquad.h"
#include "spandsp/dds.h"
#include "spandsp/ec_disable_tone.h"
Functions | |
void | echo_can_disable_tone_tx_init (echo_can_disable_tx_state_t *s, int with_am) |
Initialse an instance of the echo canceller disable tone generator. | |
int | echo_can_disable_tone_tx (echo_can_disable_tx_state_t *s, int16_t *amp, int len) |
Generate a block of echo canceller disable tone samples. | |
void | echo_can_disable_tone_rx_init (echo_can_disable_rx_state_t *s) |
Initialse an instance of the echo canceller disable tone detector. | |
int | echo_can_disable_tone_rx (echo_can_disable_rx_state_t *s, const int16_t *amp, int len) |
Process a block of samples through an instance of the echo canceller disable tone detector. |
int echo_can_disable_tone_rx | ( | echo_can_disable_rx_state_t * | s, | |
const int16_t * | amp, | |||
int | len | |||
) |
Process a block of samples through an instance of the echo canceller disable tone detector.
s | The context. | |
amp | An array of signal samples. | |
len | The number of samples in the array. |
void echo_can_disable_tone_rx_init | ( | echo_can_disable_rx_state_t * | s | ) |
Initialse an instance of the echo canceller disable tone detector.
s | The context. |
int echo_can_disable_tone_tx | ( | echo_can_disable_tx_state_t * | s, | |
int16_t * | amp, | |||
int | len | |||
) |
Generate a block of echo canceller disable tone samples.
s | The context. | |
amp | An array of signal samples. | |
len | The number of samples to generate. |
void echo_can_disable_tone_tx_init | ( | echo_can_disable_tx_state_t * | s, | |
int | with_am | |||
) |
Initialse an instance of the echo canceller disable tone generator.
s | The context. |