comparison services/pcm/pcmdata.c @ 33:6a2b09d3b1b4

disable L1_DYN_DSP_DWNLD and AMR by default
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 Oct 2016 04:23:58 +0000
parents da9056962fb7
children
comparison
equal deleted inserted replaced
32:b76c78b62e5e 33:6a2b09d3b1b4
133 { 133 {
134 /******************************************************************** 134 /********************************************************************
135 * Field MOBILE CAPABILITIES - MSCAP 135 * Field MOBILE CAPABILITIES - MSCAP
136 ********************************************************************/ 136 ********************************************************************/
137 /* 137 /*
138 * FreeCalypso: the change of L1 to the reconstructed TCS211 version 138 * FreeCalypso: this Citrine firmware only runs on AMR-capable
139 * has fixed the EFR codec, so we can re-enable it now, but AMR is 139 * silicon, but we have a build configuration setting to allow or
140 * still broken, hence we are going to advertise as non-AMR-capable 140 * disallow AMR. As far as we can tell, the AMR codec support
141 * despite running on AMR-capable silicon. 141 * in TI's TCS211 fw that serves as our reference depends on a
142 * 142 * dynamically downloaded DSP patch (L1_DYN_DSP_DWNLD), but we are
143 * If you would like to experiment with different codec 143 * having some reliability problems with the latter functionality,
144 * configurations, you can do so without having to recompile 144 * hence we have made AMR enabling a conditional feature to err
145 * and reflash the firmware each time: just write a /pcm/MSCAP 145 * on the side of safety.
146 * file into FFS with whatever setting you wish to try.
147 */ 146 */
148 #if 0 //((DSP == 34) || (DSP == 35) || (DSP == 36)) // ROM Codes including AMR feature. 147 #if ALLOW_AMR_CODEC
149 #if (STD == 1) // GSM 900 148 #if (STD == 1) // GSM 900
150 #if defined (FAX_AND_DATA) 149 #if defined (FAX_AND_DATA)
151 0xB1, 0xC7, 0x00, 150 0xB1, 0xC7, 0x00,
152 #else 151 #else
153 0x31, 0x00, 0x00, 152 0x31, 0x00, 0x00,