Asterisk - The Open Source Telephony Project
18.5.0
|
FSK Modem Support. More...
Go to the source code of this file.
Data Structures | |
struct | filter_struct |
struct | fsk_data |
Macros | |
#define | NCOLA 0x4000 |
#define | PARITY_EVEN 1 |
#define | PARITY_NONE 0 |
#define | PARITY_ODD 2 |
Functions | |
int | fsk_serial (fsk_data *fskd, short *buffer, int *len, int *outbyte) |
int | fskmodem_init (fsk_data *fskd) |
FSK Modem Support.
Definition in file fskmodem_int.h.
#define NCOLA 0x4000 |
Definition at line 32 of file fskmodem_int.h.
#define PARITY_EVEN 1 |
Definition at line 28 of file fskmodem_int.h.
#define PARITY_NONE 0 |
Definition at line 27 of file fskmodem_int.h.
#define PARITY_ODD 2 |
Definition at line 29 of file fskmodem_int.h.
int fsk_serial | ( | fsk_data * | fskd, |
short * | buffer, | ||
int * | len, | ||
int * | outbyte | ||
) |
Definition at line 224 of file fskmodem_float.c.
References a, demodulator(), get_bit_raw(), GET_SAMPLE, idemodulator(), IGET_SAMPLE, fsk_data::instop, fsk_data::ispb, len(), fsk_data::nbit, fsk_data::nstop, fsk_data::parity, ast_frame::samples, fsk_data::spb, fsk_data::state, STATE_GET_BYTE, STATE_SEARCH_STARTBIT, STATE_SEARCH_STARTBIT2, STATE_SEARCH_STARTBIT3, fsk_data::x1, fsk_data::x2, fsk_data::xi1, and fsk_data::xi2.
int fskmodem_init | ( | fsk_data * | fskd | ) |
Definition at line 195 of file fskmodem_int.c.
References fsk_data::bw, coef_in, coef_out, fsk_data::demod_filter, fsk_data::f_mark_idx, fsk_data::f_space_idx, filter_struct::icoefs, filter_struct::ip, filter_struct::ixv, filter_struct::iyv, fsk_data::mark_filter, and fsk_data::space_filter.
Referenced by callerid_new(), and tdd_new().