qcom/audio/hal: Fix no audio issue after A2DP disconnect
- No audio heard after A2DP headset is disconnected.
- During A2DP disconnect, the audio HAL receives routing
with device as 0. So the subsequence playback buffers are
dropped as there is no valid output device.
- Fix this issue by ignoring the routing to device 0.
- Update to use speaker mic for voice communication when
using speaker as output device.
Bug: 8214360
Bug: 8219514
Bug: 8230266
Change-Id: Ic19e8e512ae3c5e493014a1ba3c17bf0ddf35e36
Signed-off-by:
Iliyan Malchev <malchev@google.com>
Loading
Please register or sign in to comment