93 #define PLC_PITCH_MIN 120 95 #define PLC_PITCH_MAX 40 97 #define PLC_PITCH_OVERLAP_MAX (PLC_PITCH_MIN >> 2) 99 #define CORRELATION_SPAN 160 103 #define PLC_HISTORY_LEN (CORRELATION_SPAN + PLC_PITCH_MIN)
int plc_fillin(plc_state_t *s, int16_t amp[], int len)
Fill-in a block of missing audio samples.
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)
int plc_rx(plc_state_t *s, int16_t amp[], int len)
Process a block of received audio samples.
plc_state_t * plc_init(plc_state_t *s)
Process a block of received V.29 modem audio samples.