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

Skip to content
Commit c010491e authored by Dhananjay Kumar's avatar Dhananjay Kumar
Browse files

hal: fix incorrect resume position for ADSP SSR

- Post ADSP SSR sometimes audio playback is not resuming from
  the position where SSR was triggered.
- This is because in case of considerable delay between reset error
  from write w.r.t. offline event generation by snd_monitor, data is
  getting dropped rapidly between these two events since error callback
  is not send to audioflinger until offline event, so playback can hit
  end of stream before recovery and hence switch to next track.
- To fix this trigger error callback to audioflinger even on write error
  when error is due to SSR.

Change-Id: I133bdc84c61e5984c2e006d347c86ae7508005d0
parent 8180b856
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment