# HG changeset patch # User Mychaela Falconia # Date 1669394334 0 # Node ID 92dc7f0082a3e885615fa1581765753aea870311 # Parent 7b11cbe99a0eaa0e68f9f8c3dcdb33e61edb2938 libgsmefr: autocorr.c compiles diff -r 7b11cbe99a0e -r 92dc7f0082a3 libgsmefr/Makefile --- a/libgsmefr/Makefile Fri Nov 25 16:35:07 2022 +0000 +++ b/libgsmefr/Makefile Fri Nov 25 16:38:54 2022 +0000 @@ -1,6 +1,6 @@ CC= gcc CFLAGS= -O2 -OBJS= agc.o basicop2.o dec_create.o enc_create.o frame2params.o \ +OBJS= agc.o autocorr.o basicop2.o dec_create.o enc_create.o frame2params.o \ params2frame.o sid_class.o sid_insert.o tls_flags.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 namespace.h no_count.h oper_32b.h \ diff -r 7b11cbe99a0e -r 92dc7f0082a3 libgsmefr/autocorr.c --- a/libgsmefr/autocorr.c Fri Nov 25 16:35:07 2022 +0000 +++ b/libgsmefr/autocorr.c Fri Nov 25 16:38:54 2022 +0000 @@ -13,18 +13,21 @@ * *************************************************************************/ +#include "gsm_efr.h" #include "typedef.h" +#include "namespace.h" #include "basic_op.h" #include "oper_32b.h" -#include "count.h" +#include "no_count.h" #include "cnst.h" +#include "sig_proc.h" Word16 Autocorr ( Word16 x[], /* (i) : Input signal */ Word16 m, /* (i) : LPC order */ Word16 r_h[], /* (o) : Autocorrelations (msb) */ Word16 r_l[], /* (o) : Autocorrelations (lsb) */ - Word16 wind[] /* (i) : window for LPC analysis */ + const Word16 wind[] /* (i) : window for LPC analysis */ ) { Word16 i, j, norm;