commit | 2b3d155db61c1013a3ae56557881542a508f7528 | [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 Jun 14 06:08:19 2016 -0700 |
tree | 2f96ba2c594b388ad0327a5c659f69c3a6db51cd | |
parent | 5670ca40ade5fc0a94f6656dd085c8425c57f000 [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