ref: 0e30966b198ad28943799eaf5b3b08100b6f70c3
parent: 95dbea83486b90256785aa3c75dd2827f591a34c
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Mon Apr 1 00:03:46 EDT 2024
Adding more context for PLC Should fix the few cases where the PLC would create voice frames that shouldn't be there.
--- a/dnn/lpcnet_private.h
+++ b/dnn/lpcnet_private.h
@@ -46,7 +46,7 @@
float gru2_state[PLC_GRU2_STATE_SIZE];
} PLCNetState;
-#define PLC_BUF_SIZE ((CONT_VECTORS+5)*FRAME_SIZE)
+#define PLC_BUF_SIZE ((CONT_VECTORS+10)*FRAME_SIZE)
struct LPCNetPLCState {PLCModel model;
FARGANState fargan;
--
⑨