commit | 6a0d05c00a987be62f22af1919e580c1a7361d31 | [log] [tgz] |
---|---|---|
author | Dorin Drimus <dorindrimus@google.com> | Fri May 06 15:39:27 2022 +0200 |
committer | Dorin Drimus <dorindrimus@google.com> | Mon May 09 10:41:24 2022 +0200 |
tree | ece4a8726ae265233a07548586b254ac1ac8e29e | |
parent | db2310a284655ddda35437d15bf9f788e36639ed [diff] |
Filter unsuported native audio formats in getDirectProfilesForAttributes The audio HAL and native layer knows of more audio formats than the Java layer for now. In getDirectProfilesForAttributes filter the invalid encodings. Bug: 231539208 Test: atest audiopolicy_tests Test: atest DirectAudioProfilesForAttributesTest Change-Id: I9f38c54d0466767c2690196183b3ea3c135618f5