commit | 4f1aece0af007826091ef439557fc0fdadc68dd4 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Apr 19 17:10:25 2013 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon Apr 22 12:38:29 2013 -0700 |
tree | 70d8585590b7ddeae808399a656f9ed9eebdd133 | |
parent | c97552f90e77077a094323ff82a731d96f0833d2 [diff] |
audio: fix SCO issues SCO pcm streams must be active only when either playback or capture is active on a SCO device. As the output device is not always reset when a stream stops, the SCO pcm streams would remain active until a new device selection is received. Also manage SCO pcm streams when capture only is active. Previous implementation was only starting SCO pcm streams if the playback device was SCO. Bug: 8634536 Change-Id: Icf65583f901d63cf1b469f4b03c9ffc84eefc41f