Squashed commit of the following:
[opus.git] / silk / float / SKP_Silk_LPC_analysis_filter_FLP.c
index b340f55..e8d7d6b 100644 (file)
@@ -233,6 +233,13 @@ void SKP_Silk_LPC_analysis_filter6_FLP(
     }\r
 }\r
 \r
+/*******************************************/\r
+/* LPC analysis filter                     */\r
+/* NB! State is kept internally and the    */\r
+/* filter always starts with zero state    */\r
+/* first Order output samples are not set  */\r
+/*******************************************/\r
+\r
 void SKP_Silk_LPC_analysis_filter_FLP(\r
           SKP_float                 r_LPC[],            /* O    LPC residual signal                     */\r
     const SKP_float                 PredCoef[],         /* I    LPC coefficients                        */\r
@@ -272,8 +279,5 @@ void SKP_Silk_LPC_analysis_filter_FLP(
             SKP_assert( 0 );\r
         break;\r
     }\r
-\r
-    /* Set first LPC Order samples to zero instead of undefined */\r
-    SKP_memset( r_LPC, 0, Order * sizeof( SKP_float ) );\r
 }\r
 \r