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

Skip to content
Commit 0f5e339e authored by Jaideep Sharma's avatar Jaideep Sharma Committed by Cherrypicker Worker
Browse files

libaudiohal: Modify calculation of buffer duration for mmap streams

To calculate to buffer duration of mmap streams, use burst size.
Burst size gives proper timings about consumption of mmap buffers,
eventually adjusting the mLastReplyLifeTimeNs, which impacts query of
position from HAL.

Bug: 342529498
Test: run mmap usecase and check timestamp query interval.
(cherry picked from https://android-review.googlesource.com/q/commit:0cb1387ee606c06e0e2270344bfb36039f4be0a1)
Merged-In: Ibb88765da62e019bbb677fe0b1980bbf64e82073
Change-Id: Ibb88765da62e019bbb677fe0b1980bbf64e82073
parent 7e7dfe64
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