# HG changeset patch # User Mychaela Falconia # Date 1627585056 0 # Node ID fa22012c4a3999700955aab3f4a49dfe99603916 # Parent 5caa86ee2cfa9dfa116ec89b14c9c6ffc238c7d1 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. diff -r 5caa86ee2cfa -r fa22012c4a39 src/cs/services/cst/cst_csf.c --- 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 /* diff -r 5caa86ee2cfa -r fa22012c4a39 src/cs/services/cst/cst_exts.c --- 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