OSDN Git Service

audio policy: fix device selection in startInput()
authorEric Laurent <elaurent@google.com>
Fri, 17 May 2013 21:11:27 +0000 (14:11 -0700)
committerEric Laurent <elaurent@google.com>
Fri, 17 May 2013 21:11:27 +0000 (14:11 -0700)
commit66707435156d8d99d795271a7bd54943065b4c2d
tree43d73b720346c7fe0ec2093f65b06a3c026c5528
parenta776ffd243bbd02948ebefd43f4ac2690ebb11e6
audio policy: fix device selection in startInput()

Check again input device selection when capture starts in case
conditions have changed since the input stream was opened.

This is related to but does not fix issue 8761558. It makes the
selection of BT SCO device consistent.

Bug: 8761558
Change-Id: I386b638e9c3238711e16fb848449af561624359e
audio/AudioPolicyManagerBase.cpp