diff options
author | Eric Laurent <elaurent@google.com> | 2015-06-25 11:48:20 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-06-25 11:48:20 -0700 |
commit | cc750d3604b33a92374253b12dd739dc06440aad (patch) | |
tree | d2fb46dbd9994624d5da2dcd6141add90d79d562 /services/audioflinger/StateQueueInstantiations.cpp | |
parent | ed8505836c0b2fba0ab4be0c1eff31d4f241bc1d (diff) | |
download | frameworks_av-cc750d3604b33a92374253b12dd739dc06440aad.zip frameworks_av-cc750d3604b33a92374253b12dd739dc06440aad.tar.gz frameworks_av-cc750d3604b33a92374253b12dd739dc06440aad.tar.bz2 |
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
Diffstat (limited to 'services/audioflinger/StateQueueInstantiations.cpp')
0 files changed, 0 insertions, 0 deletions