commit | 2c604f6f6a255b750b1887545882492b1f0eadee | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Tue Nov 20 16:37:29 2018 -0800 |
committer | Phil Burk <philburk@google.com> | Wed Nov 28 22:15:02 2018 +0000 |
tree | dc2761502651767be66aea80ea3afd32a139f306 | |
parent | 9a4842894af7b5b7db4f152ddd1420660876c36f [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 Merged-In: I925efecca9c99b8a2b7bde3826da4d9e9e663ee1