The problem occurs if the BT SCO socket is established before the call is answered. In this case, the first device selected when entering in call state is the BT device but current implementation of do_route_audio_dev_ctrl() does not apply ACDB settings when calling AUDIO_START_VOICE except for HAC device. If the SCO socket is established after we enter in call mode, we receive a new routing request after AUDIO_START_VOICE has been executed and in this case the new ACDB settings are applied. The fix consists in applying ACDB settings when calling AUDIO_START_VOICE regardless of the device used.
Description
No description provided
Languages
C++
90.2%
Objective-C
4.6%
C
2.8%
Makefile
2.4%