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

Skip to content
Commit eb6e6503 authored by Andy Hung's avatar Andy Hung
Browse files

AudioTrack: Fix callback timing if less than one AF mixer period.

Callback may wait nearly the entire period when double buffered
which can lead to random glitches.  Limit this to half the mixer period.

Test: aaudio test write_sine_callback -pl -n1 -r44100 -s20
Bug: 129545307
Bug: 131601263
Change-Id: I6b7478728fe7ead570251662ee48a8f8adad0d5d
parent 2f7a6072
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