commit | cf77af0ab18911e6fde5ca7edba0b73696d90e62 | [log] [tgz] |
---|---|---|
author | Zhou Song <zhous@codeaurora.org> | Fri May 14 18:21:14 2021 +0800 |
committer | Zhou Song <zhous@codeaurora.org> | Fri May 14 18:21:14 2021 +0800 |
tree | aade1a6726d610ce15ea26bae0311f551554dfda | |
parent | a754b67733ea005ab73db5ac49feecc7a2556972 [diff] |
hal: check for sco device to ensure a2dp can be disabled During a2dp and sco concurrency usecaes, some outputs may have audio device changed to a2dp while others are leaving as sco, due to they share same backend, outputs with sco audio device can still be switched to a2dp snd device, in order not to assign sco device to the one which needs to switch to speaker, need to check sco as well. Change-Id: I74f1c10ba42c2007f89164b7edbcb353a2ae80c9