Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 453bf7e7 authored by Chun Yuan's avatar Chun Yuan Committed by Mikhail Naganov
Browse files

AudioPolicy: restrain non-offloadable effect blocking logic

The current logic is as long as it is a non-offloadable effect it
blocks offload support. This broadly blocking logic causes issues
on the automotive platform where a non-offloadable effect during
navigation prompt blocks dolby atmos playback even though the two
audio streams are mixed at the DSP layer rather than within audio
framework. Modify the logic to make blocking only occurs when the
effect is on MIX output or it is on the same session for which the
direct output is open.

Flag: EXEMPT bugfix
Bug: 429550843
Test: Manual test with bench setup
(cherry picked from https://android-review.googlesource.com/q/commit:8811bd188f4adc7e5d1257f456a1515cb2e2e863)
Change-Id: I085067ccfe85702771bd1648ba235c265e5d6d6f
parent 5a9721d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment