mt6735 [Speech]通话过程中连接BT再切换成听筒,上行音量变小

MT6735问题描述:
1.不连接BT通话,此时的上行音量为vol1
2.通话过程中连接BT,然后切换成听筒模式,此时的上行音量为vol2
3.vol2明显小于vol1

方法:
直接修改如下函数或者申请pathALPS01427017
status_t SpeechDriverLAD::SetSpeechMode(const audio_devices_t input_device, const audio_devices_t
output_device)
{
speech_mode_t speech_mode = GetSpeechModeByOutputDevice(output_device);
ALOGD("%s(), input_device = 0x%x, output_device = 0x%x, speech_mode = %d", __FUNCTION__, input_device,
output_device, speech_mode);
// AP side have to set speech mode before speech/record/loopback on,
// hence we check whether Modem side get all necessary speech enhancement parameters here
// if not, re-send it !!
if (pCCCI->CheckSpeechParamAckAllArrival() == false) {
ALOGW("%s(), Do SetAllSpeechEnhancementInfoToModem() done. Start set speech_mode = %d", __FUNCTION__,
speech_mode);
}
// set a unreasonable gain value s.t. the reasonable gain can be set to modem next time
mDownlinkGain = kUnreasonableGainValue;
mUplinkGain = kUnreasonableGainValue;
mSideToneGain = kUnreasonableGainValue;
status_t ret = pCCCI->SendMessageInQueue(pCCCI->InitCcciMailbox(MSG_A2M_SET_SPH_MODE, speech_mode, 0));
pCCCI->SetModemSideRealModemStatus(SPEECH_MODE_STATUS_MASK);

return ret;

资料转载于一牛网论坛 MT6735  http://bbs.16rd.com/thread-454500-1-1.html

}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值