diff options
author | Dhanalakshmi Siddani <dsiddani@codeaurora.org> | 2016-09-09 18:10:31 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-04 12:42:40 -0700 |
commit | a6b76c7b8348bf18e7dd6f0bb50a54bdaf5fa43c (patch) | |
tree | 15802074968b37fccff1d32236b6012fad38cf2d /visualizer/offload_visualizer.c | |
parent | 22ba9f1ab2a12ae497db1211e7042eb101ba6e5e (diff) |
hal: Fix playback mute issue in pcm offload case
- Playback mute observed in direct pcm case due to compr_start fail.
- Compress write moves stream state from setup to prepared, then
compress start moves it to running state.
- If client writes 0 bytes of data then compress write fails and hence
compress start fails. Playback start flag is set in HAL without
checking return value of compress start causing playback mute as
compress start never happens.
- Fix is to set playback start flag only if compress start is success.
Change-Id: I139ddba1cd3944aefbcf02af36f8516529b0703b
Diffstat (limited to 'visualizer/offload_visualizer.c')
0 files changed, 0 insertions, 0 deletions