This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | TDD_BYTES_PER_CHAR 2700 |
Typedefs | |
typedef tdd_state | TDDSTATE |
Functions | |
void | tdd_init (void) |
CallerID Initialization. | |
int | tdd_generate (struct tdd_state *tdd, unsigned char *buf, char *string) |
Generates a CallerID FSK stream in ulaw format suitable for transmission. | |
tdd_state * | tdd_new (void) |
Create a TDD state machine. | |
int | tdd_feed (struct tdd_state *tdd, unsigned char *ubuf, int samples) |
Read samples into the state machine, and return character (if any). | |
void | tdd_free (struct tdd_state *tdd) |
Free a TDD state machine. | |
int | ast_tdd_gen_ecdisa (unsigned char *outbuf, int len) |
Generate Echo Canceller diable tone (2100HZ). |
|
|
|
|
|
Generate Echo Canceller diable tone (2100HZ).
Definition at line 101 of file tdd.c.
|
|
Read samples into the state machine, and return character (if any).
Definition at line 116 of file tdd.c. References ast_log(), AST_MULAW, free, fsk_serie(), tdd_state::fskd, LOG_ERROR, LOG_NOTICE, LOG_WARNING, malloc, tdd_state::mode, tdd_state::oldlen, and tdd_state::oldstuff.
|
|
Free a TDD state machine.
Definition at line 172 of file tdd.c. References free.
|
|
Generates a CallerID FSK stream in ulaw format suitable for transmission.
Definition at line 236 of file tdd.c. References tdd_state::mode, and PUT_TDD.
|
|
CallerID Initialization. Initializes the TDD system. Mostly stuff for inverse FFT Definition at line 67 of file tdd.c. References TDD_MARK, and TDD_SPACE. Referenced by main().
|
|
Create a TDD state machine. This function returns a malloc'd instance of the tdd_state data structure. Returns a pointer to a malloc'd tdd_state structure, or NULL on error. Definition at line 76 of file tdd.c. References ast_log(), LOG_WARNING, and malloc.
|