changeset 274:fa22012c4a39

CST: remove AT%Nxxxx old AEC control This crude method of enabling and configuring AEC is not compatible with L1_NEW_AEC, and even for the old AEC it did not support every possible combination. It is time for this hack to go. The new and proper way of enabling and configuring AEC is via RiViera Audio Service audio mode facility, either audio mode files or full access write, most directly accessible via fc-tmsh auw 12 for free experimentation.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 29 Jul 2021 18:57:36 +0000
parents 5caa86ee2cfa
children 79cfefc1e2b4
files src/cs/services/cst/cst_csf.c src/cs/services/cst/cst_exts.c
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/services/cst/cst_csf.c	Thu Jul 29 18:32:40 2021 +0000
+++ b/src/cs/services/cst/cst_csf.c	Thu Jul 29 18:57:36 2021 +0000
@@ -146,6 +146,11 @@
   PURPOSE : This function sends a primitive to L1A to activate the AEC */
 
 
+/*
+ * CST AEC control is removed in FreeCalypso:
+ * it is incompatible with L1_NEW_AEC.
+ */
+#if 0
 GLOBAL void csf_aec_enable (USHORT aec_ctrl_reg)
 {
 
@@ -166,6 +171,7 @@
 
   PSENDX (L1, aec_req);
 }
+#endif
 
 
 /*
--- a/src/cs/services/cst/cst_exts.c	Thu Jul 29 18:32:40 2021 +0000
+++ b/src/cs/services/cst/cst_exts.c	Thu Jul 29 18:57:36 2021 +0000
@@ -330,6 +330,11 @@
 
 */
 
+/*
+ * CST AEC control is removed in FreeCalypso:
+ * it is incompatible with L1_NEW_AEC.
+ */
+#if 0
 GLOBAL void AEC_Enable (CHAR *command, CHAR *output)
 {
 
@@ -485,6 +490,7 @@
  }
 
 }
+#endif
 
 
 
@@ -591,6 +597,7 @@
         }
       }
 
+#if 0		/* removed in FreeCalypso for L1_NEW_AEC */
       case 'N':
        /*
         * Enables the AEC by sending a primitive to L1A
@@ -598,6 +605,7 @@
        *cmdLen -= 6;
        AEC_Enable(cmd, out);
        return( AT_CMPL );
+#endif
 
 //---------------------------------------------------------------------------//
 // Added by Matthieu Vanin for the test of melody E2/E1