diff options
author | Eric Laurent <elaurent@google.com> | 2013-09-05 16:10:57 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2013-09-05 18:21:19 -0700 |
commit | 6e89524079e9c3a1037c57a99854820d88c9380b (patch) | |
tree | b31d65c997db2f5bb16c6b8e7d1b138b7b99f7f5 /visualizer/offload_visualizer.c | |
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
Diffstat (limited to 'visualizer/offload_visualizer.c')
0 files changed, 0 insertions, 0 deletions