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