[DESCRIPTION]
静音模式下,听不到Call Waiting tone
[SOLUTION]
请帮忙修改替换Profilessrvmain.c中如下函数:
static srv_prof_volume_level srv_prof_play_audio_query_volume(srv_prof_tone_enum tone_type)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
switch(tone_type)
{
case SRV_PROF_TONE_SMS:
case SRV_PROF_TONE_SMS_CARD2:
case SRV_PROF_TONE_SMS_CARD3:
case SRV_PROF_TONE_SMS_CARD4:
case SRV_PROF_TONE_MMS:
case SRV_PROF_TONE_MMS_CARD2:
case SRV_PROF_TONE_MMS_CARD3:
case SRV_PROF_TONE_MMS_CARD4:
case SRV_PROF_TONE_EMAIL:
case SRV_PROF_TONE_EMAIL_CARD2:
case SRV_PROF_TONE_EMAIL_CARD3:
case SRV_PROF_TONE_EMAIL_CARD4:
case SRV_PROF_TONE_VOICE:
case SRV_PROF_TONE_VOICE_CARD2:
case SRV_PROF_TONE_VOICE_CARD3:
case SRV_PROF_TONE_VOICE_CARD4:
case SRV_PROF_TONE_SMS_INCALL:
{
return g_srv_prof.cur_setting.msg_vol;
}
case SRV_PROF_TONE_KEYPAD:
{
return g_srv_prof.cur_setting.keypad_vol;
}
case SRV_PROF_TONE_CCBS:
case SRV_PROF_TONE_CALL_REMINDER:
case SRV_PROF_TONE_CONGESTION:
case SRV_PROF_TONE_AUTH_FAIL:
case SRV_PROF_TONE_NUM_UNOBTAIN:
case SRV_PROF_TONE_CALL_DROP:
case SRV_PROF_TONE_WARNING_INCALL:
case SRV_PROF_TONE_ERROR_INCALL:
case SRV_PROF_TONE_CONNECT_INCALL:
case SRV_PROF_TONE_SUCCESS_INCALL:
case SRV_PROF_TONE_WAITING_CALL: //Add this line
{
return MDI_AUD_VOL_GET_EX_LEVEL(srv_speech_get_mode_volume());
}
default:
{
return g_srv_prof.cur_setting.ring_vol;
}
}
}
如上修改,remake mmi_service这个模块即可
or Add patch MAUI_02282650
来自半导体社群
网友评论