comparison src/cs/services/cst/cst_exts.c @ 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 4e78acac3d88
children
comparison
equal deleted inserted replaced
273:5caa86ee2cfa 274:fa22012c4a39
328 328
329 PURPOSE : activate the Acoustic Echo Cancelation 329 PURPOSE : activate the Acoustic Echo Cancelation
330 330
331 */ 331 */
332 332
333 /*
334 * CST AEC control is removed in FreeCalypso:
335 * it is incompatible with L1_NEW_AEC.
336 */
337 #if 0
333 GLOBAL void AEC_Enable (CHAR *command, CHAR *output) 338 GLOBAL void AEC_Enable (CHAR *command, CHAR *output)
334 { 339 {
335 340
336 /* -------------------------------------------------------------------------- */ 341 /* -------------------------------------------------------------------------- */
337 /* MMI_AEC_REQ : 0283 = Long AEC, 105 = SPENH, 187 = AEC+SPENH, 1 = STOP */ 342 /* MMI_AEC_REQ : 0283 = Long AEC, 105 = SPENH, 187 = AEC+SPENH, 1 = STOP */
483 /* end of string list */ 488 /* end of string list */
484 output [15] = (CHAR) 0xff; 489 output [15] = (CHAR) 0xff;
485 } 490 }
486 491
487 } 492 }
493 #endif
488 494
489 495
490 496
491 497
492 /* 498 /*
589 595
590 return ( AT_CMPL ); 596 return ( AT_CMPL );
591 } 597 }
592 } 598 }
593 599
600 #if 0 /* removed in FreeCalypso for L1_NEW_AEC */
594 case 'N': 601 case 'N':
595 /* 602 /*
596 * Enables the AEC by sending a primitive to L1A 603 * Enables the AEC by sending a primitive to L1A
597 */ 604 */
598 *cmdLen -= 6; 605 *cmdLen -= 6;
599 AEC_Enable(cmd, out); 606 AEC_Enable(cmd, out);
600 return( AT_CMPL ); 607 return( AT_CMPL );
608 #endif
601 609
602 //---------------------------------------------------------------------------// 610 //---------------------------------------------------------------------------//
603 // Added by Matthieu Vanin for the test of melody E2/E1 611 // Added by Matthieu Vanin for the test of melody E2/E1
604 //---------------------------------------------------------------------------// 612 //---------------------------------------------------------------------------//
605 613