diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2024-04-01 04:03:46 -0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2024-04-01 04:03:46 -0400 |
commit | 0e30966b198ad28943799eaf5b3b08100b6f70c3 (patch) | |
tree | 263676fcf7b39200f93b721f71bdaf65450d8d2d | |
parent | 95dbea83486b90256785aa3c75dd2827f591a34c (diff) | |
download | libopus-0e30966b198ad28943799eaf5b3b08100b6f70c3.tar.gz |
Adding more context for PLC
Should fix the few cases where the PLC would create voice frames
that shouldn't be there.
-rw-r--r-- | dnn/lpcnet_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dnn/lpcnet_private.h b/dnn/lpcnet_private.h index 4aa376b6..09db584e 100644 --- a/dnn/lpcnet_private.h +++ b/dnn/lpcnet_private.h @@ -46,7 +46,7 @@ typedef struct { 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; |