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
Loading
Please register or sign in to comment