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

Skip to content
Commit 14b50ccd authored by jiabin's avatar jiabin
Browse files

APM: use preferred config for device when it is available.

When a device is connected, the device configuration, which includes
sample rate, channel mask and format is selected, is picked at the
highest values to ensure the best experience. This configuration will be
used as the device configuration when creating audio patch. When
bit-perfect playback is active, the configuration should not be the
highest one. Instead, it should be the same as the bit-perfect
configuration. In that case, adding the concept of preferred
configuration, which will be set when bit-perfect playback is active.
The device will use preferred configuration when it is available.

Bug: 251215866
Test: manually
Change-Id: I58f8fd14c3b0f7cf10daba51d3c7c74713f19991
parent 8d7480e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment