comparison src/g23m-aci/aci/psa_f.c @ 598:717ed17d82c6

aci3 vocoder control revamped, AT@VSEL now works as it should The vocoder control code (hl_audio_drv.c) that came with the TCS3 version of ACI was totally broken in the Calypso config (VOCODER_FUNC_INTERFACE) and worked in the standard analog voice environment only by luck. This code has now been rewritten to work correctly with our Calypso platform and TCS211 L1, and our new AT@VSEL mechanism (automatic enabling and disabling of MCSI voice path as the modem enters and exits the voice call state) now also works as designed.
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 27 Mar 2019 23:44:35 +0000
parents 53929b40109c
children
comparison
equal deleted inserted replaced
597:f18b29e27be5 598:717ed17d82c6
57 #include "dti.h" /* functionality of the dti library */ 57 #include "dti.h" /* functionality of the dti library */
58 #include "psa_uart.h" 58 #include "psa_uart.h"
59 #include "cmh_uart.h" 59 #include "cmh_uart.h"
60 #endif 60 #endif
61 61
62 #ifdef VOCODER_FUNC_INTERFACE 62 /* removed in FreeCalypso */
63 #if 0 //#ifdef VOCODER_FUNC_INTERFACE
63 #include "hl_audio_drv.h" 64 #include "hl_audio_drv.h"
64 #endif 65 #endif
65 66
66 /*==== CONSTANTS ==================================================*/ 67 /*==== CONSTANTS ==================================================*/
67 68
141 case(ACI_TDTMF): 142 case(ACI_TDTMF):
142 /* timeout dtmf timer */ 143 /* timeout dtmf timer */
143 psaCC_DTMFTimeout(); 144 psaCC_DTMFTimeout();
144 return(TRUE); 145 return(TRUE);
145 146
146 #ifdef VOCODER_FUNC_INTERFACE 147 /* removed in FreeCalypso */
148 #if 0 //#ifdef VOCODER_FUNC_INTERFACE
147 case(ACI_VOCODER): 149 case(ACI_VOCODER):
148 { 150 {
149 T_HL_VOCODER_ACTION tmpcurrVocoderAction = currVocoderAction; 151 T_HL_VOCODER_ACTION tmpcurrVocoderAction = currVocoderAction;
150 currVocoderAction = VOCODER_IDLE; 152 currVocoderAction = VOCODER_IDLE;
151 /* 153 /*