diff src/d_homing.c @ 5:799b56cbccb6

EFR2 decoder: add post-processing step from AMR
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 03 Apr 2024 06:09:10 +0000
parents 56410792419a
children
line wrap: on
line diff
--- a/src/d_homing.c	Wed Apr 03 05:55:51 2024 +0000
+++ b/src/d_homing.c	Wed Apr 03 06:09:10 2024 +0000
@@ -25,6 +25,10 @@
 #include "d_homing.h"
 #include "q_plsf_5.tab"
 
+#ifdef EFR2_VARIANT
+#include "post_pro.h"
+#endif
+
 #define PRM_NO    57
 
 /***************************************************************************
@@ -340,5 +344,9 @@
     decoder_reset (); /* reset all the state variables in the speech decoder*/
     reset_rx_dtx ();  /* reset all the receive DTX and CN state variables */
 
+#ifdef EFR2_VARIANT
+    AMR_postproc_reset();
+#endif
+
     return;
 }