diff options
author | Zhou Song <zhous@codeaurora.org> | 2016-03-21 17:21:04 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-04-07 05:29:48 -0700 |
commit | 6540c07662ebf0fe7478af3c4678c59977aed3c9 (patch) | |
tree | e562664c5f70c418b64a7667e2326d910f525a90 /hal | |
parent | 354a07ccd238ef2982b91141047c019720f4bcdc (diff) | |
download | android_hardware_qcom_audio-6540c07662ebf0fe7478af3c4678c59977aed3c9.tar.gz android_hardware_qcom_audio-6540c07662ebf0fe7478af3c4678c59977aed3c9.tar.bz2 android_hardware_qcom_audio-6540c07662ebf0fe7478af3c4678c59977aed3c9.zip |
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
Diffstat (limited to 'hal')
0 files changed, 0 insertions, 0 deletions