commit | 555530ab903504ad3586bc24cd8a4f200f5c39ae | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Tue Feb 07 18:17:24 2017 -0800 |
committer | Eric Laurent <elaurent@google.com> | Thu Feb 09 21:09:55 2017 -0800 |
tree | 1c7904daf0e13a86bb225d2e52f791ef84ec85a5 | |
parent | c96fc852f010f9254a38a0073a4de7a848e33e44 [diff] |
audio: several concurrent capture fixes Make sure AudioRecord clients are invalidated synchronously when closing an input stream instead of when the capture thread exits. Fix AudioPolicyManager::getInputForDevice() logic to make sure that not only the first opened input encountered is considered when looking for a compatible input to reuse for concurrent capture. Bug: 22702906 Test: run CTS test Change-Id: I7f69609d4ee70a37ab06753ff970b12df17d885b