Skip to content

Commit 0e30966

Browse files
committed
Adding more context for PLC
Should fix the few cases where the PLC would create voice frames that shouldn't be there.
1 parent 95dbea8 commit 0e30966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dnn/lpcnet_private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ typedef struct {
4646
float gru2_state[PLC_GRU2_STATE_SIZE];
4747
} PLCNetState;
4848

49-
#define PLC_BUF_SIZE ((CONT_VECTORS+5)*FRAME_SIZE)
49+
#define PLC_BUF_SIZE ((CONT_VECTORS+10)*FRAME_SIZE)
5050
struct LPCNetPLCState {
5151
PLCModel model;
5252
FARGANState fargan;

0 commit comments

Comments
 (0)