comparison src/g23m-aci/aci/ati_audio.c @ 180:e69e6b9a28b5

src/g23m-aci: sync with Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 04 Jan 2020 21:44:15 +0000
parents 7409b22cac61
children
comparison
equal deleted inserted replaced
179:2a9935250c95 180:e69e6b9a28b5
67 #include "audio.h" /* Condat */ 67 #include "audio.h" /* Condat */
68 68
69 #include "fc-target.h" 69 #include "fc-target.h"
70 #include "armio.h" 70 #include "armio.h"
71 71
72 #if defined(CONFIG_TARGET_DSAMPLE) || defined(CONFIG_TARGET_FCFAM) 72 #if GPIO1_SPEAKER_CTRL
73 /* AT@SPKR - turn loudspeaker amplifier on or off */ 73 /* AT@SPKR - turn loudspeaker amplifier on or off */
74 GLOBAL T_ATI_RSLT atAtSPKR ( char *cl, UBYTE srcId ) 74 GLOBAL T_ATI_RSLT atAtSPKR ( char *cl, UBYTE srcId )
75 { 75 {
76 int state; 76 int state;
77 77
165 io_sendMessage(srcId, g_sa, ATI_NORMAL_OUTPUT); 165 io_sendMessage(srcId, g_sa, ATI_NORMAL_OUTPUT);
166 166
167 return (ATI_CMPL); 167 return (ATI_CMPL);
168 } 168 }
169 169
170 #ifdef CONFIG_TARGET_FCMODEM 170 #ifdef CONFIG_MCSI_MODEM
171 extern UBYTE aci_digital_voice_autoswitch; 171 extern UBYTE aci_digital_voice_autoswitch;
172 172
173 /* AT@VPATH - configure digital voice path */ 173 /* AT@VPATH - configure digital voice path */
174 GLOBAL T_ATI_RSLT atAtVPATH ( char *cl, UBYTE srcId ) 174 GLOBAL T_ATI_RSLT atAtVPATH ( char *cl, UBYTE srcId )
175 { 175 {