1 頁 (共 1 頁)

00871151 [James]all ringtone sounds intermittently for abou

發表於 : 2013年 4月 5日, 23:59
admin
Step by step Description
1.Pair and connect BT headset with MUT.
2.Receive a MT call.-> Call ringtone is alerting.
3.Power off BT headset while call is ringing. ->Power on BT headset while call is ringing->Check the ringtone after BT headset is reconnected with MUT.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Actual result
After step 3: Call ringtone sounds intermittently for about three seconds from MUT after reconnecting BTH during MT call ringing.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Expect result
After step 3: Call ringtone should sound smoothly after BT headset reconnecting with MUT.

We want to know if there's any way to improve our audio quality while BT headset tries to connect MUT.

PS. We met a simular ringtone problem in Tapioca, and submit a case (00825224) before, not sure whether we can use the same solution while BT headset is connecting to MUT.

Thank you.



Comment
Created By: Srinivasa Murthy Batni Gundurao (6/13/2012 3:38 AM)
Dear Customer,

Thank you. Please update the status after QA.

Thanks,
Srinivas.




Created By: James Chiu (6/13/2012 1:55 AM)
Dear Srinivas,

Sorry for my careless about changing wrong file.
After adding this line in AudioPolicyManager.cpp, the ringtone quality is improved a lot.
I will confirm with QA whether it's acceptable.

Thanks for your great support.




Created By: Srinivasa Murthy Batni Gundurao (6/11/2012 9:38 AM)
Dear Customer,

The file where changes are to be made are AudioPolicyManager.cpp and the file you have attached is AudioPolicyManagerBase.cpp.
AudioPolicyManager.cpp is in \hardware\qcom\media\audio\msm7627a.

Thanks,
Srinivas.




Created By: James Chiu (6/11/2012 5:15 AM)
Dear Srinivas,

I check our code base, this line is already in AudioPolicyManager.cpp
Besides, our AudioPolicyManager.cpp is not in the path you said, it is in '\hardware\libhardware_legacy\audio'

Please refer to attachment for our AudioPolicyManager.cpp.

Could you please help to confirm whether the BSP we used are not the same?
Does this symptom not occur in your BSP?

Thank you.




Created By: Srinivasa Murthy Batni Gundurao (6/11/2012 3:36 AM)
Dear Customer,

Please add the following code in your file AudioPolicyManager.cpp(present in hardware\qcom\media\audio\msm7627a)
AudioPolicyManagerBase::checkA2dpSuspend();//Add the following line

Please see the code changes so that you can add the code.
Original Code.
#ifdef WITH_A2DP
AudioPolicyManagerBase::checkOutputForAllStrategies();
// A2DP outputs must be closed after checkOutputForAllStrategies() is executed
if (state == AudioSystem::DEVICE_STATE_UNAVAILABLE && AudioSystem::isA2dpDevice(device)) {
closeA2dpOutputs();
}

Modified code.
#ifdef WITH_A2DP

AudioPolicyManagerBase::checkA2dpSuspend();
AudioPolicyManagerBase::checkOutputForAllStrategies();
// A2DP outputs must be closed after checkOutputForAllStrategies() is executed
if (state == AudioSystem::DEVICE_STATE_UNAVAILABLE && AudioSystem::isA2dpDevice(device)) {
closeA2dpOutputs();
}

Please update the status of this issue.

Thanks,
Srinivas.




Created By: Srinivasa Murthy Batni Gundurao (6/5/2012 3:36 AM)
Dear Customer,

This issue is mainly because of the 2 following reasons.
1. The in band ringing is not supported in our phone. Hence we will just send the Ring indication to the headset. It is up-to the headset how it notifies.
2. Also our mobile takes only 3 seconds to get the ring indication after the BRSF is sent. This intermittent sound is heard for the first 3 seconds( We can also see that the SCO connection is not established). Whereas the competitor phone takes more than 12 seconds to get the Ring indication as a result this intermittent sound is not seen in the competitor phone.
This issue is mainly due to headset as it also needs to connect A2DP connection after restarting.( This SONY DS980 implements both HandsFree and A2DP functionality) Whereas this issue may not be seen in those headsets which implement only Hands free functionality.

Thanks,
Srinivas.




Created By: James Chiu (6/5/2012 2:09 AM)
Dear Srinivas,

Do you mean the intermittent sounds is due to Qualcomm's solution is to emphasize the connection performance, so the audio quality has been impacted?
Competitor phone's connection performance is bad, it would not spend much resource to reconnect in a short time, so their audio sound would not be deffered.
Is my understanding of your comment right?

For this issue, we also verify on other referance phone, Sony Ericsson Arc, which uses Qualcomm 8225.
It does have the same issue too, but the intermittent sound is the signifcant as our phone.
We wonder if we could improve our audio quality as Arc, or is this a limitaion of 7267a?

Thank you.




Created By: Srinivasa Murthy Batni Gundurao (6/5/2012 1:42 AM)
Dear Customer,

We had a look at the logs and found that InBand Ringtone is not supported and hence we are only sending the ringtone indication and it is upto the headset that how it sends the ringtone.
As per frame
132 Master 12 ..+BRSF: 103....OK.. Retrieved AG Supported Features 33 00:00:00.003792 6/4/2012 10:20:44.077969 AM

DUT response : In-band ring tone capability: Not Supported

So DUT will only send out ring indication
252 Master 12 ..RING....+CLIP: "+914030169414",145.. Incoming Call/Call progress indication 51 00:00:03.009624 6/4/2012 10:21:07.732626 AM

If user is hearing intermittent ringtone on headset , it may be due to headset.
Also when we examined the behaviour with the a competitor phone we found that the issue was not reproducing, but the time taken to reconnect the headset after the headset is turned on is about 12 seconds in the competitor phone whereas it is about 3 seconds in our FFA.

Our FFA:
347 S (HF) 11 AT+BRSF=127. Retrieve AG Supported Features 27 00:00:12.570016 6/4/2012 10:21:20.302642 AM
702 M (AG) 11 ..RING....+CLIP: "+914030169414",145.. Incoming Call/Call progress indication 51 00:00:02.468460 6/4/2012 10:21:23.524131 AM
//3.22 seconds is taken to connect back.

Competitor phone:
104 Slave 7 AT+BRSF=127. Retrieve AG Supported Features 31 6/5/2012 12:07:06.938044 PM
223 * Master * 7 * ..+CIEV: 3,1....RING....+CLIP: "+919866142414",145.. 145 indicator's status report 15 00:00:12.004215 6/5/2012 12:07:19.572888 PM
//12.63 seconds is taken to connect back.

And because of this increase in the time to reconnect the intermittent sounds of ringtone are not heard in the headset in the competitor phone.

Thanks,
Srinivas.




Created By: James Chiu (5/31/2012 11:57 PM)
Dear Srinivas,

Upload the logcat, hcidump and OTA trace for this issue.
DS980 can reproduce this issue easily, the ringtone sounds intermittently while it reconnect to MUT.
BT620s almost can't reproduce this issue.

Please help to check the logs.

Thank you.
James




Created By: Srinivasa Murthy Batni Gundurao (5/31/2012 7:24 AM)
Dear Customer,

Can you please provide the logcat logs,HCI dump logs and FTS logs for this issue?

Thanks,
Srinivas.




Created By: Prudvidhar Thangella (5/31/2012 4:31 AM)
Dear Customer,
We are looking this issue from BT perspective and we will get back on this...

Thanks,
-Pruthvi