28#if !defined(_SPANDSP_PLC_H_)
29#define _SPANDSP_PLC_H_
97#define PLC_PITCH_MIN 120
99#define PLC_PITCH_MAX 40
101#define PLC_PITCH_OVERLAP_MAX (PLC_PITCH_MIN >> 2)
103#define CORRELATION_SPAN 160
107#define PLC_HISTORY_LEN (CORRELATION_SPAN + PLC_PITCH_MIN)
114#if defined(__cplusplus)
151#if defined(__cplusplus)
int plc_free(plc_state_t *s)
Definition plc.c:255
int plc_fillin(plc_state_t *s, int16_t amp[], int len)
Fill-in a block of missing audio samples.
Definition plc.c:163
plc_state_t * plc_init(plc_state_t *s)
Initialise a PLC context.
Definition plc.c:237
int plc_release(plc_state_t *s)
Definition plc.c:249
int plc_rx(plc_state_t *s, int16_t amp[], int len)
Process a block of received audio samples for PLC.
Definition plc.c:119
Definition private/plc.h:48