changeset 93:b651adfce60d

libgsmefr: weight_a.c compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Nov 2022 17:56:24 +0000
parents bb71c5414e71
children d80e9f12a1d1
files libgsmefr/Makefile libgsmefr/weight_a.c
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libgsmefr/Makefile	Sat Nov 26 17:53:52 2022 +0000
+++ b/libgsmefr/Makefile	Sat Nov 26 17:56:24 2022 +0000
@@ -7,7 +7,7 @@
 	log2.o lsp_az.o lsp_lsf.o oper_32b.o params2frame.o pitch_f6.o \
 	pitch_ol.o pow2.o pre_proc.o pred_lt6.o preemph.o pstfilt2.o q_gains.o \
 	q_plsf_5.o reorder.o residu.o sid_class.o sid_insert.o syn_filt.o \
-	tls_flags.o
+	tls_flags.o weight_a.o
 HDRS=	basic_op.h cnst.h codec.h d_homing.h dec_state.h dtx.h e_homing.h \
 	enc_state.h gains_tb.h gsm_efr.h memops.h namespace.h no_count.h \
 	oper_32b.h sig_proc.h typedef.h vad.h
--- a/libgsmefr/weight_a.c	Sat Nov 26 17:53:52 2022 +0000
+++ b/libgsmefr/weight_a.c	Sat Nov 26 17:56:24 2022 +0000
@@ -9,16 +9,19 @@
  *
  *************************************************************************/
 
+#include "gsm_efr.h"
 #include "typedef.h"
+#include "namespace.h"
 #include "basic_op.h"
-#include "count.h"
+#include "no_count.h"
+#include "sig_proc.h"
 
 /* m = LPC order == 10 */
 #define m 10
 
 void Weight_Ai (
     Word16 a[],         /* (i)     : a[m+1]  LPC coefficients   (m=10)    */
-    Word16 fac[],       /* (i)     : Spectral expansion factors.          */
+    const Word16 fac[], /* (i)     : Spectral expansion factors.          */
     Word16 a_exp[]      /* (o)     : Spectral expanded LPC coefficients   */
 )
 {