commit | fa69dc61def2931f01a1e14a3b385ffc56a4f2bc | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri Jul 27 09:58:58 2018 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Fri Jul 27 16:30:29 2018 -0700 |
tree | d2b183d167be035424bb641ae2052000316d0efb | |
parent | 93adab132cfdd6e71cee2af14eea711b49a4c76d [diff] |
audiopolicy: Add AudioProfileVector::findBestMatchingOutputConfig Assuming that the call target AudioProfileVector contains input profiles, the method finds the best matching config from provided AudioProfileVector of output profiles. Matching is performed according to the given preferences for audio formats and channel masks. Bug: 63901775 Test: MSD prototype Change-Id: Id005aad9de8bfe8cea5cb6291efc278d6260210c