commit | c576a455900013b375acd1edf694760ef5629381 | [log] [tgz] |
---|---|---|
author | Zhou Song <zhous@codeaurora.org> | Mon Sep 09 14:17:40 2019 +0800 |
committer | Zhou Song <zhous@codeaurora.org> | Mon Sep 09 14:31:01 2019 +0800 |
tree | fbda48f20376a6f8d3e818e95cc2045d82dafa28 | |
parent | 7a2f2c0669767d2cb971dfc6be3ab915c5df68d6 [diff] |
hal: tear down a2dp path for non-offloaded streams when suspended When A2dp device is already active and A2dpsuspended=true is received, audio route will be switched to sco mic and BT firmware will open the RX path as 8KHz, while a2dp playback can still keep sending data over slimbus, this can cause noise heard in the BT headset. To avoid this, tear down the A2dp playback before SCO is enabled. Change-Id: Ic0b8d1c725340a3a2878d11717631c45c81dc721