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

Skip to content
Commit c9672827 authored by Zhou Song's avatar Zhou Song Committed by Garmond Leung
Browse files

hal: accumulate written frames when error occurred during write

Frames are discarded directly but not accumulated to written frames
when pcm write failed. This can make the playback position queried
from HAL is less than actual.
Move frames accumulation into a standalone func and handle this
for both failed and successful write.

CRs-Fixed: 2093628

Change-Id: I5b222f123306de603504f6bed4d4e3cdcc7a5b36
parent e49253e1
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