changeset 56:902bc4b64cc6

libgsmefr: az_lsp.c compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Nov 2022 17:15:08 +0000
parents 92dc7f0082a3
children e005e7b91f3c
files libgsmefr/Makefile libgsmefr/az_lsp.c
diffstat 2 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libgsmefr/Makefile	Fri Nov 25 16:38:54 2022 +0000
+++ b/libgsmefr/Makefile	Fri Nov 25 17:15:08 2022 +0000
@@ -1,7 +1,7 @@
 CC=	gcc
 CFLAGS=	-O2
-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
+OBJS=	agc.o autocorr.o az_lsp.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 \
 	sig_proc.h typedef.h vad.h
--- a/libgsmefr/az_lsp.c	Fri Nov 25 16:38:54 2022 +0000
+++ b/libgsmefr/az_lsp.c	Fri Nov 25 17:15:08 2022 +0000
@@ -22,11 +22,14 @@
  *
  ***********************************************************************/
 
+#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"
 
 #include "grid.tab"
 
@@ -97,8 +100,8 @@
 
     j = 0;
     test (); test (); 
-    /* while ( (nf < M) && (j < grid_points) ) */
-    while ((sub (nf, M) < 0) && (sub (j, grid_points) < 0))
+    while ( (nf < M) && (j < grid_points) )
+    /* while ((sub (nf, M) < 0) && (sub (j, grid_points) < 0)) */
     {
         j++;
         xhigh = xlow;              move16 ();