Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a6b76c7b authored by Dhanalakshmi Siddani's avatar Dhanalakshmi Siddani Committed by Gerrit - the friendly Code Review server
Browse files

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
parent 22ba9f1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment