commit | 466e8a8fa8d4e6186b72c25cd0289356828177b3 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Sep 26 18:40:35 2012 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Sep 27 16:11:39 2012 -0700 |
tree | 85768a13d650e9124fc6123822b8f6892fcacaf5 | |
parent | f859d3e80b790d4b525515918f1c6889383cc495 [diff] |
audio: reset output device when disconnecting HDMI When HDMI is disconnected, the audio HAL should stop writing to the PCM driver to avoid a write error and a long timeout. THe problem is that if no audio track is active, the policy manager will send a 0 device upon HDMI disconnection which is normally ignored. The fix consists in forcing the device to speaker when transitioning from HDMI to 0 device. Bug 7141149. Change-Id: I3e5878a1d6ec0446f7044eff95e6641332c718bf