diff libgsmefr/vad.h @ 52:988fd7ff514f

libgsmefr: add state pointers to ETSI function prototypes
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Nov 2022 08:22:41 +0000
parents af4b075d0313
children 756605c4850f
line wrap: on
line diff
--- a/libgsmefr/vad.h	Fri Nov 25 06:46:22 2022 +0000
+++ b/libgsmefr/vad.h	Fri Nov 25 08:22:41 2022 +0000
@@ -8,9 +8,10 @@
  *
  **************************************************************************/
 
-void vad_reset (void);
+void vad_reset (struct EFR_encoder_state *st);
 
 Word16 vad_computation (
+    struct EFR_encoder_state *st,
     Word16 r_h[],
     Word16 r_l[],
     Word16 scal_acf,
@@ -92,6 +93,6 @@
 );
 
 void periodicity_update (
-    Word16 lags[],
-    Word16 *ptch
+    struct EFR_encoder_state *st,
+    Word16 lags[]
 );