commit | e78aa19fbce078838633a9ea2baeca8b2d77e4c8 | [log] [tgz] |
---|---|---|
author | Zhou Song <zhous@codeaurora.org> | Mon Mar 21 17:21:04 2016 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sun Jul 17 20:47:37 2016 -0700 |
tree | 59a32f3eff4ed5132ef0058d8c5120a7a87a7966 | |
parent | ce3382bbe1175315b29c970417ec53291192a731 [diff] |
audiopolicy: check active direct output before adding DIRECT_PCM flag When getting new output with DIRECT_PCM flag set, the existing direct pcm output can be closed and interrupted mutually with the requested one. Don't add DIRECT_PCM flag if there's an active direct output for track offload. Change-Id: I250c9555dff2c17f94b57a14a1722bae00fe9f9b CRs-Fixed: 986087