FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/layer1/audio_cfile/l1audio_init.c @ 181:3c9aaec4eb88
l1audio_init.c: passes compilation
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 08 Jun 2016 00:23:41 +0000 |
parents | 22cc509346c8 |
children | 6a71281f0d82 |
comparison
equal
deleted
inserted
replaced
180:22cc509346c8 | 181:3c9aaec4eb88 |
---|---|
567 } | 567 } |
568 | 568 |
569 #if (L1_EXTERNAL_AUDIO_VOICE_ONOFF == 1) | 569 #if (L1_EXTERNAL_AUDIO_VOICE_ONOFF == 1) |
570 l1a_l1s_com.audio_onoff_task.parameters.onoff_value = FALSE; | 570 l1a_l1s_com.audio_onoff_task.parameters.onoff_value = FALSE; |
571 #endif | 571 #endif |
572 l1a_l1s_com.audio_forced_by_l1s = FALSE; | 572 #if 0 /* FreeCalypso TCS211 reconstruction */ |
573 l1a_l1s_com.audio_forced_by_l1s = FALSE; | |
574 #endif | |
573 | 575 |
574 #if (MELODY_E1) | 576 #if (MELODY_E1) |
575 l1s.melody0.oscillator[0] = &(l1s_dsp_com.dsp_ndb_ptr->a_melo_note0[0]); | 577 l1s.melody0.oscillator[0] = &(l1s_dsp_com.dsp_ndb_ptr->a_melo_note0[0]); |
576 l1s.melody0.oscillator[1] = &(l1s_dsp_com.dsp_ndb_ptr->a_melo_note1[0]); | 578 l1s.melody0.oscillator[1] = &(l1s_dsp_com.dsp_ndb_ptr->a_melo_note1[0]); |
577 l1s.melody0.oscillator[2] = &(l1s_dsp_com.dsp_ndb_ptr->a_melo_note2[0]); | 579 l1s.melody0.oscillator[2] = &(l1s_dsp_com.dsp_ndb_ptr->a_melo_note2[0]); |
673 { | 675 { |
674 drc_ndb->a_drc_mid_band_filter[j] = (API)0; | 676 drc_ndb->a_drc_mid_band_filter[j] = (API)0; |
675 } | 677 } |
676 #endif | 678 #endif |
677 | 679 |
678 l1a_l1s_com.outen_cfg_task.outen1 = | |
679 l1a_l1s_com.outen_cfg_task.outen2 = | |
680 l1a_l1s_com.outen_cfg_task.outen3 = | |
681 l1a_l1s_com.outen_cfg_task.command_requested = | |
682 l1a_l1s_com.outen_cfg_task.command_commited = 0; | |
683 //voice and stereo path configuration for L1 standalone mode CQ- OMAPS00088143 | |
684 #if (OP_L1_STANDALONE == 1) | |
685 // Voice path and Stereo path | |
686 l1a_l1s_com.outen_cfg_task.outen3 = 0; | |
687 l1a_l1s_com.outen_cfg_task.outen2 = 0x03; | |
688 l1a_l1s_com.outen_cfg_task.outen1 = 0; | |
689 #endif | |
690 #if(L1_BT_AUDIO ==1) | |
691 bt_audio.pcm_data_pending = 0; | |
692 bt_audio.pcm_data_end = 0; | |
693 bt_audio.pcm_data_ready = 0; | |
694 bt_audio.pcm_data_failed = 0; | |
695 bt_audio.connected_status = FALSE; | |
696 #endif | |
697 } | 680 } |
698 | 681 |
699 #endif // AUDIO_TASK | 682 #endif // AUDIO_TASK |