# HG changeset patch # User Mychaela Falconia # Date 1460147830 0 # Node ID ecea132f1ac3699e251dbca64b5c9f9cf0a905d1 # Parent ba0b349e718e550968aca0e3e19b97ef852038b8 l1_init.c: l1_dsp_init() reconstructed diff -r ba0b349e718e -r ecea132f1ac3 chipsetsw/layer1/cfile/l1_init.c --- a/chipsetsw/layer1/cfile/l1_init.c Fri Apr 08 06:00:22 2016 +0000 +++ b/chipsetsw/layer1/cfile/l1_init.c Fri Apr 08 20:37:10 2016 +0000 @@ -493,7 +493,7 @@ l1s_dsp_com.dsp_ndb_ptr->d_thr_soft_bits = 0; // thresh detection SPEECH DEGRADED/NO_DATA #endif - #if ((DSP==36 || (DSP == 37) || (DSP == 38) || (DSP == 39))&&(W_A_AMR_THRESHOLDS==1)) + #if ((DSP >= 36) && (AMR_THRESHOLDS_WORKAROUND == 1)) // init of the afs thresholds parameters l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[0]=0; l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[1]=0; @@ -502,7 +502,7 @@ l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[4]=0; l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[5]=0; l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[6]=0; - l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[7]=1950; + l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[7]=1500; // init of the ahs thresholds parameters l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_ahs[0]=1500; @@ -514,7 +514,9 @@ #endif // init of of the threshold for USF detection - #if (L1_FALSE_USF_DETECTION == 1) + #if 1 /* match TCS211 object */ + l1s_dsp_com.dsp_ndb_ptr->d_thr_usf_detect = 2140; + #elif (L1_FALSE_USF_DETECTION == 1) l1s_dsp_com.dsp_ndb_ptr->d_thr_usf_detect = 2300; #else l1s_dsp_com.dsp_ndb_ptr->d_thr_usf_detect = 0;