commit | cc750d3604b33a92374253b12dd739dc06440aad | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Jun 25 11:48:20 2015 -0700 |
committer | Eric Laurent <elaurent@google.com> | Thu Jun 25 11:48:20 2015 -0700 |
tree | d2fb46dbd9994624d5da2dcd6141add90d79d562 | |
parent | ed8505836c0b2fba0ab4be0c1eff31d4f241bc1d [diff] |
audio policy: fix several device descriptor issues. - checkOutputsForDevice() should only clear device descriptor attributes if the device is digital. - checkInputsForDevice() did not clear device descriptor attributes at all. - AudioPort::clearCapabilities() and importAudioPort() should not manage gains as these are device specific. - importAudioPort() should load a default port config. Bug: 21990937. Change-Id: Ida762ed8f9baaabae392cb4291eff1a8d3009751