changeset 275:b679dd326f4d

l1audio_sync.c: reconstruction complete, perfect match to TCS211 object
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 Mar 2017 04:09:51 +0000
parents fd5ae803a73e
children 59ceed02f7df
files chipsetsw/layer1/audio_cfile/l1audio_sync.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/audio_cfile/l1audio_sync.c	Mon Mar 13 17:44:10 2017 +0000
+++ b/chipsetsw/layer1/audio_cfile/l1audio_sync.c	Tue Mar 14 04:09:51 2017 +0000
@@ -3771,6 +3771,7 @@
           l1s_dsp_com.dsp_ndb_ptr->d_amms_ul_voc  &= ~(SC_CHAN_TYPE_MASK);
           l1s_dsp_com.dsp_ndb_ptr->d_amms_ul_voc  |= l1a_l1s_com.voicememo_amr_task.record.parameters.amr_vocoder;
 
+#if 0	/* FreeCalypso: not present in TCS211 object */
 	  l1s.voicememo_amr.record.a_du_x = l1s_dsp_com.dsp_ndb_ptr->a_du_1;
           if (l1a_l1s_com.dedic_set.aset != NULL)
           {
@@ -3779,6 +3780,7 @@
               l1s.voicememo_amr.record.a_du_x = l1s_dsp_com.dsp_ndb_ptr->a_du_0;
           }
           *(l1s.voicememo_amr.record.a_du_x) = 0;
+#endif
 
           // Start the voice memo recording DSP task
           l1s_dsp_com.dsp_ndb_ptr->d_toneskb_init |= B_VM_AMR_RECORD_START;
@@ -3894,7 +3896,7 @@
             if ( (*(l1s.voicememo_amr.record.a_du_x)) & B_BLOCK_READY )
             {
               UWORD8 sample_header, temp_header;
-              UWORD8  data_size=0 ;//omaps00090550;
+              UWORD8  data_size;
 
               // get RX_TYPE to identify frame (SPEECH_GOOD, SID_FIRST, SID_UPDATE, NO_DATA)
               sample_header = (*l1s.voicememo_amr.record.a_du_x & 0x00FF);