24 #ifndef _ASTERISK_TDD_H 25 #define _ASTERISK_TDD_H 27 #define TDD_BYTES_PER_CHAR 2700
int tdd_gen_holdtone(unsigned char *outbuf)
int ast_tdd_gen_ecdisa(unsigned char *outbuf, int len)
struct tdd_state * tdd_new(void)
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)
int tdd_generate(struct tdd_state *tdd, unsigned char *buf, const char *string)
void tdd_free(struct tdd_state *tdd)
int tdd_feed(struct tdd_state *tdd, unsigned char *ubuf, int samples)