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

Skip to content
Commit 07b4288d authored by Phil Burk's avatar Phil Burk
Browse files

qcom/audio/hal: add offset to MMAP input time

Try to fix glitches on AAudio MMAP input on some devices.
The DSP is returning a position/time pair that is too soon.

Set default offset to zero if no property used.
Remove unneeded FIXME.
Improve comments.
Cleanup adding of offset.

This CL combines two CLs from Q master. See Merged-in lines below.

Bug: 122680738
Test: Should see glitch.count = 0 when you run this test.
Test: adb shell aaudio_loopback -tm -s20

Change-Id: Ib4c5b773702923ef76da124a5c6f4773e004ed7e
Merged-In: Ib4c5b773702923ef76da124a5c6f4773e004ed7e
Merged-In: Idd85f8978443e036ba4c5fb6440320a8578a74fd
parent 1bc15de5
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