commit | 4515129c59206406322d2efb4581cf0dcd66096d | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Tue Nov 20 16:37:29 2018 -0800 |
committer | Phil Burk <philburk@google.com> | Tue Nov 20 16:43:37 2018 -0800 |
tree | ecd075adb351fc3cc59b31fc71e189b377ccd2a7 | |
parent | eb8b659add93161d169edbe1f94243939df953a6 [diff] |
audiopolicy: use an exact match for MMAP input AudioFlinger was returning a stereo input if mono was requested but not supported. But AAudio did not know it was stereo so the data was corrupted. So if MMAP input is requested, do an exact match in isCompatibleProfile(). Bug: 119518992 Test: see bug for repo steps Test: adb shell aaudio_loopback -tm -pl -Pl -x -X -C1 Change-Id: I925efecca9c99b8a2b7bde3826da4d9e9e663ee1