Go to the source code of this file.
Classes | |
struct | modem_connect_tones_tx_state_t |
struct | modem_connect_tones_rx_state_t |
Enumerations | |
enum | { MODEM_CONNECT_TONES_NONE = 0, MODEM_CONNECT_TONES_FAX_CNG = 1, MODEM_CONNECT_TONES_FAX_CED = 2, MODEM_CONNECT_TONES_ANS = 3, MODEM_CONNECT_TONES_ANS_PR = 4, MODEM_CONNECT_TONES_ANSAM = 5, MODEM_CONNECT_TONES_ANSAM_PR = 6, MODEM_CONNECT_TONES_FAX_PREAMBLE = 7 } |
Functions | |
modem_connect_tones_tx_state_t * | modem_connect_tones_tx_init (modem_connect_tones_tx_state_t *s, int tone_type) |
Initialise an instance of the modem connect tones generator. | |
int | modem_connect_tones_tx_free (modem_connect_tones_tx_state_t *s) |
Free an instance of the modem connect tones generator. | |
int | modem_connect_tones_tx (modem_connect_tones_tx_state_t *s, int16_t amp[], int len) |
Generate a block of modem connect tones samples. | |
int | modem_connect_tones_rx (modem_connect_tones_rx_state_t *s, const int16_t amp[], int len) |
Process a block of samples through an instance of the modem connect tones detector. | |
int | modem_connect_tones_rx_get (modem_connect_tones_rx_state_t *s) |
Test if a modem_connect tone has been detected. | |
modem_connect_tones_rx_state_t * | modem_connect_tones_rx_init (modem_connect_tones_rx_state_t *s, int tone_type, tone_report_func_t tone_callback, void *user_data) |
Initialise an instance of the modem connect tones detector. | |
int | modem_connect_tones_rx_free (modem_connect_tones_rx_state_t *s) |
Free an instance of the modem connect tones detector. |
|
|
Process a block of samples through an instance of the modem connect tones detector.
|
|
Free an instance of the modem connect tones detector.
|
|
Test if a modem_connect tone has been detected.
|
|
Initialise an instance of the modem connect tones detector.
|
|
Generate a block of modem connect tones samples.
|
|
Free an instance of the modem connect tones generator.
|
|
Initialise an instance of the modem connect tones generator.
|