commit | 42531fadbea208347235f0359415989dc750687f | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Oct 03 09:06:14 2012 -0700 |
committer | Eric Laurent <elaurent@google.com> | Wed Oct 03 14:44:43 2012 -0700 |
tree | 05e085895a06811b90c4b7afe81760ec10529312 | |
parent | 2e5bbb4f666453e5c9c0f322f9829b19d0edc465 [diff] |
audio: fix headset mic capture The audio path configuration was derived from the playback device and the capture audio source only. When playback is idle, the playback device defaults to speaker which prevents selection of wired or SCO headset mic. The fix consists in taking the capture device into account when selecting the audio path when playback is idle. Bug 7275723. Change-Id: I13d125eaed13aaae706c675cbda7d35efa066619