mirror of
https://github.com/xiph/opus.git
synced 2025-05-30 07:07:42 +00:00
Adding API for PLC
Packet loss concealment based on LPCNet (work in progress)
This commit is contained in:
parent
b2b2e226c3
commit
969bd7662f
7 changed files with 206 additions and 11 deletions
|
@ -894,7 +894,7 @@ LPCNET_EXPORT int lpcnet_compute_features(LPCNetEncState *st, const short *pcm,
|
|||
return 0;
|
||||
}
|
||||
|
||||
LPCNET_EXPORT int lpcnet_compute_single_frame_features(LPCNetEncState *st, const short *pcm, float features[NB_TOTAL_FEATURES]) {
|
||||
int lpcnet_compute_single_frame_features(LPCNetEncState *st, const short *pcm, float features[NB_TOTAL_FEATURES]) {
|
||||
int i;
|
||||
float x[FRAME_SIZE];
|
||||
for (i=0;i<FRAME_SIZE;i++) x[i] = pcm[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue