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

Skip to content
Commit 0465da66 authored by Zhou Song's avatar Zhou Song
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 e1e4982b
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