shithub: opus

Download patch

ref: 864bc8c6062809b79fa02a26ce84bf5394fb7d84
parent: aef475641ace5deebbb49ab4054038abb35cf2af
author: Linfeng Zhang <linfengz@google.com>
date: Thu Aug 11 09:21:58 EDT 2016

Update NSQ_LPC_BUF_LENGTH macro

NSQ_LPC_BUF_LENGTH is independent of DECISION_DELAY.

Signed-off-by: Felicia Lim <flim@google.com>

--- a/silk/define.h
+++ b/silk/define.h
@@ -173,11 +173,7 @@
 
 #define MAX_MATRIX_SIZE                         MAX_LPC_ORDER /* Max of LPC Order and LTP order */
 
-#if( MAX_LPC_ORDER > DECISION_DELAY )
 # define NSQ_LPC_BUF_LENGTH                     MAX_LPC_ORDER
-#else
-# define NSQ_LPC_BUF_LENGTH                     DECISION_DELAY
-#endif
 
 /***************************/
 /* Voice activity detector */