commit | a3e13a270032f10bccf99269aa3ea8b7cb59cde0 | [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> | Tue Jul 12 22:47:59 2016 -0700 |
tree | 05c8a6acc2e40e5c3beab2fbe3e55c9e27b04d05 | |
parent | 6573f7372f1f281e0d832e724b113ffbe6739fd4 [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