Go to the source code of this file.
Typedefs | |
typedef fax_modems_state_s | fax_modems_state_t |
Enumerations | |
enum | { FAX_MODEM_NONE = -1, FAX_MODEM_FLUSH = 0, FAX_MODEM_SILENCE_TX, FAX_MODEM_SILENCE_RX, FAX_MODEM_CED_TONE, FAX_MODEM_CNG_TONE, FAX_MODEM_NOCNG_TONE, FAX_MODEM_V21_TX, FAX_MODEM_V17_TX, FAX_MODEM_V27TER_TX, FAX_MODEM_V29_TX, FAX_MODEM_V21_RX, FAX_MODEM_V17_RX, FAX_MODEM_V27TER_RX, FAX_MODEM_V29_RX } |
Functions | |
SPAN_DECLARE (int) fax_modems_v17_v21_rx(void *user_data | |
Release a V.8 context. | |
SPAN_DECLARE (void) fax_modems_set_tep_mode(fax_modems_state_t *s | |
Cleanup a T.30 context if the call terminates. | |
SPAN_DECLARE (fax_modems_state_t *) fax_modems_init(fax_modems_state_t *s | |
Variables | |
const int16_t | amp [] |
const int16_t int | len |
int | use_tep |
int hdlc_frame_handler_t | hdlc_accept |
int hdlc_frame_handler_t hdlc_underflow_handler_t | hdlc_tx_underflow |
int hdlc_frame_handler_t hdlc_underflow_handler_t put_bit_func_t | non_ecm_put_bit |
int hdlc_frame_handler_t hdlc_underflow_handler_t put_bit_func_t get_bit_func_t | non_ecm_get_bit |
int hdlc_frame_handler_t hdlc_underflow_handler_t put_bit_func_t get_bit_func_t tone_report_func_t | tone_callback |
int hdlc_frame_handler_t hdlc_underflow_handler_t put_bit_func_t get_bit_func_t tone_report_func_t void * | user_data |
|
The set of modems needed for FAX, plus the auxilliary stuff, like tone generation. |
|
Cleanup a T.30 context if the call terminates. Select whether silent audio will be sent when FAX transmit is idle.
|
|
Release a V.8 context. Apply T.30 receive processing to a block of audio samples.
|