FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/layer1/audio_cust0/l1audio_cust.c @ 278:65afc3a5f6b0
l1audio_cust.c: passes compilation and link, but demo/test functions missing
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 14 Mar 2017 05:09:31 +0000 |
parents | c33c56a03312 |
children | 8a7b5f1d6429 |
comparison
equal
deleted
inserted
replaced
277:c33c56a03312 | 278:65afc3a5f6b0 |
---|---|
890 UINT8 channel_id; | 890 UINT8 channel_id; |
891 xSignalHeaderRec *msg; | 891 xSignalHeaderRec *msg; |
892 | 892 |
893 /* special handling for features in driver */ | 893 /* special handling for features in driver */ |
894 if ((session_id == AUDIO_VM_AMR_RECORD_SESSION_ID) || | 894 if ((session_id == AUDIO_VM_AMR_RECORD_SESSION_ID) || |
895 (session_id == AUDIO_VM_AMR_PLAY_SESSION_ID) || | 895 (session_id == AUDIO_VM_AMR_PLAY_SESSION_ID)) |
896 (session_id == AUDIO_EXT_MIDI_SESSION_ID)) | |
897 { | 896 { |
898 channel_id = 0; | 897 channel_id = 0; |
899 /* find active channel_id associated to session_id */ | 898 /* find active channel_id associated to session_id */ |
900 while ( (channel_id < AUDIO_DRIVER_MAX_CHANNEL)&& | 899 while ( (channel_id < AUDIO_DRIVER_MAX_CHANNEL)&& |
901 ((p_audio_gbl_var->audio_driver_session[channel_id].session_info.state == AUDIO_DRIVER_CHANNEL_WAIT_INIT)|| | 900 ((p_audio_gbl_var->audio_driver_session[channel_id].session_info.state == AUDIO_DRIVER_CHANNEL_WAIT_INIT)|| |
1976 &requested_size, | 1975 &requested_size, |
1977 l1s.ext_audio_mgt.session_id); | 1976 l1s.ext_audio_mgt.session_id); |
1978 | 1977 |
1979 } | 1978 } |
1980 #endif | 1979 #endif |
1980 | |
1981 #if 0 /* FreeCalypso: removing functions not present in TCS211 */ | |
1981 void l1a_bt_audio_noti_process() | 1982 void l1a_bt_audio_noti_process() |
1982 { | 1983 { |
1983 UINT8 channel_id=0; | 1984 UINT8 channel_id=0; |
1984 void *p_message = NULL; //omaps00090550 | 1985 void *p_message = NULL; //omaps00090550 |
1985 T_RVF_MB_STATUS mb_status; //omaps00090550 | 1986 T_RVF_MB_STATUS mb_status; //omaps00090550 |
2074 l1_trace_navc(d_navc_start_stop_read,d_navc_ctrl_status_energy_val); | 2075 l1_trace_navc(d_navc_start_stop_read,d_navc_ctrl_status_energy_val); |
2075 #endif | 2076 #endif |
2076 | 2077 |
2077 return (d_navc_ctrl_status_energy_val); | 2078 return (d_navc_ctrl_status_energy_val); |
2078 } | 2079 } |
2080 #endif | |
2079 | 2081 |
2080 #endif // AUDIO_TASK== 1 | 2082 #endif // AUDIO_TASK== 1 |
2081 |