commit | 6e89524079e9c3a1037c57a99854820d88c9380b | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Sep 05 16:10:57 2013 -0700 |
committer | Eric Laurent <elaurent@google.com> | Thu Sep 05 18:21:19 2013 -0700 |
tree | b31d65c997db2f5bb16c6b8e7d1b138b7b99f7f5 | |
parent | 4e02e5575f2eb440632a60fb8bed0a44ddae83af [diff] |
hal: force stop after drain. Force playback state to IDLE and send compress_stop() when drain completes to force reset driver and DSP pointers. This ensures that even if last write was partial, next write will be on a 32 byte boundary. Also do not wait for write completion if compress_write() returns an error. Bug 8174410. Change-Id: If144981c6396b24515d45b32a75ab61872a35ea2