# HG changeset patch # User Mychaela Falconia # Date 1489427050 0 # Node ID fd5ae803a73e517585b277da796b9da7c3f84d10 # Parent a19a9953eec2422c28782d4aa3d5044186e1ee7c l1audio_sync.c: l1s_vm_amr_play_manager() reconstructed diff -r a19a9953eec2 -r fd5ae803a73e chipsetsw/layer1/audio_cfile/l1audio_sync.c --- a/chipsetsw/layer1/audio_cfile/l1audio_sync.c Mon Mar 13 06:33:00 2017 +0000 +++ b/chipsetsw/layer1/audio_cfile/l1audio_sync.c Mon Mar 13 17:44:10 2017 +0000 @@ -3413,7 +3413,6 @@ /*-------------------------------------------------------*/ void l1s_vm_amr_play_manager(void) { - BOOL l1_vm_amr_in_pause=FALSE; enum states { IDLE = 0, @@ -3474,6 +3473,7 @@ *state = WAIT_DSP_START; #endif // L1_AUDIO_MCU_ONOFF } + break; #if (L1_AUDIO_MCU_ONOFF == 1) case WAIT_AUDIO_ON: @@ -3587,8 +3587,8 @@ } else { - UWORD8 temp_header =0; //omaps00090550 - UWORD8 data_size =0; //omaps00090550 + UWORD8 temp_header; + UWORD8 data_size; // Identify AMR sample RX_TX_TYPE temp_header = sample_header & SC_RX_TX_TYPE_MASK; @@ -3676,11 +3676,6 @@ *l1s.voicememo_amr.play.a_du_x = (sample_header | B_BLOCK_READY); } } - if(l1_vm_amr_in_pause==TRUE) - { - (*(l1s.voicememo_amr.play.a_du_x) = *(l1s.voicememo_amr.play.a_du_x) & ~B_BLOCK_READY); - l1_vm_amr_in_pause=FALSE; - } } } break;