#include <stdio.h>#include <inttypes.h>#include <stdlib.h>#include <string.h>#include <limits.h>#include "spandsp/telephony.h"#include "spandsp/dc_restore.h"#include "spandsp/plc.h"Defines | |
| #define | ATTENUATION_INCREMENT 0.0025f |
| #define | ms_to_samples(t) (((t)*SAMPLE_RATE)/1000) |
Functions | |
| int | plc_rx (plc_state_t *s, int16_t amp[], int len) |
| Process a block of received audio samples for PLC. | |
| int | plc_fillin (plc_state_t *s, int16_t amp[], int len) |
| Fill-in a block of missing audio samples. | |
| plc_state_t * | plc_init (plc_state_t *s) |
| Initialise a PLC context. | |
| int | plc_release (plc_state_t *s) |
|
||||||||||||||||
|
Fill-in a block of missing audio samples. Fill-in a block of missing audio samples.
|
|
|
Initialise a PLC context. Initialise a packet loss concealer context.
|
|
|
Free a packet loss concealer context.
|
|
||||||||||||||||
|
Process a block of received audio samples for PLC. Process a block of received audio samples for PLC.
|
1.4.6