commit | 14662b571f5aee81a68eadf3566325ec037366d5 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Mon Mar 06 21:35:29 2023 +0000 |
committer | jiabin <jiabin@google.com> | Tue Mar 07 18:31:32 2023 +0000 |
tree | d42775fdaf5d161e61a1c1b3180edf8c10d8832d | |
parent | fa98e2e3e14e48618315e7b860fbbcd544a9ab43 [diff] |
Support device role for capture preset. When preferred device(s) is set for capture preset, use it as input device if it is currently available. Remove the disabled device from the availale device list. Bug: 271412776 Test: atest audiopolicy_tests Change-Id: Ia8750d75bddef11dcb0aaf0d0b91f2e24f714775