commit | f2196d8f89b7fe7d7cfee26be2113d8aaf042cff | [log] [tgz] |
---|---|---|
author | Dorin Drimus <dorindrimus@google.com> | Mon Jan 03 12:11:18 2022 +0100 |
committer | Dorin Drimus <dorindrimus@google.com> | Fri Jan 21 11:36:02 2022 +0100 |
tree | c24c3892612803e4884b1645c32a7ae94f83cb23 | |
parent | e3009b64df64e1e95a6ecf4f1cef7e4e66acba14 [diff] |
Add getDirectProfilesForAttributes Allows any app to query AudioManager on the available direct AudioProfiles for the specified AudioAttributes. Only the active paths that will be actually used to output sound are returned. go/audio-route-t Bug: 190810951 Bug: 202253203 Test: atest android.media.audio.cts.DirectAudioProfilesForAttributesTest Test: audiopolicy_fuzzer Change-Id: Idf3f6ddc9896301fa9e546b1221844853473b3e6