Evening out CPU load for non-causal PLC

Defer some of the extra resync work to the next packet
This commit is contained in:
Jean-Marc Valin 2022-02-19 17:28:28 -05:00
parent 022ddc31fb
commit a11e68dd74
2 changed files with 20 additions and 2 deletions

View file

@ -81,6 +81,9 @@ struct LPCNetPLCState {
int enable_blending;
double dc_mem;
int remove_dc;
int queued_update;
short queued_samples[FRAME_SIZE];
};
extern float ceps_codebook1[];