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

Skip to content
Commit b61ef752 authored by chenxin20's avatar chenxin20
Browse files

audio: update mOldTs.tv_nsec when mSleepNs > 0.



If the write of the hal layer returns quickly, there will be two consecutive writes, and insufficient data will cause noise. Because currently only the time when the current data is written is compared with the time when the data was last written.

Bug: 395756049

Change-Id: I47b2da33366cb597a65943fdcde58c641c31ea55
Signed-off-by: default avatarchenxin20 <chenxin20@xiaomi.com>
parent 2e264b11
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