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

Skip to content
Commit 5eaf096a authored by jiabin's avatar jiabin Committed by Jiabin Huang
Browse files

APM: update logic for output selection with preferred mixer attributes.

1. All playback from the preferred mixer attributes owner will be routed
   to output with preferred mixer.
2. If bit-perfect playback is active, APM will route all playback to the
   preferred mixer when the routed device is the same as the targeted
   device for preferred mixer.
3. The client will be bit-perfect only when it is from the owner of
   preferred mixer attributes and the request matches the preferred
   mixer attributes.

Bug: 263279716
Test: manually
Test: atest audiopolicy_tests
Change-Id: I74efef10909d888dd47cc66444685f5b19a08a43
parent f91a4fcc
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