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

Skip to content
Commit f92b2175 authored by Haynes Mathew George's avatar Haynes Mathew George Committed by Glenn Kasten
Browse files

audioflinger: Update throttling logic in MixerThread



The throttling logic in MixerThread only keeps track of
time spent during sink write. However, on low tier
APs and with high sample rate tracks, it is possible
that time spent in mixing the tracks is significant.
This inturn leads to sink writes returning earlier than
expected kicking in (incorrectly) the throttling logic.

To fix this, update throttling logic to include
the time spent in mixing buffers along with the time
spent in sink write.

authored-by: default avatarDhananjay Kumar <dhakumar@codeaurora.org>

Bug: 28672515
Change-Id: Iac4994c3084850bb93640c978b4a519db8d7951d
parent 76fa63cc
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