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

Skip to content
Commit 6641f9d4 authored by Robert Wu's avatar Robert Wu
Browse files

AAudio: Handle weird callback sizes better

For a callback size of 7, AAudio output streams often glitch.

This happens when the wrapping buffer is almost empty. In these cases,
AAudio should be careful and put only one frame at a time.

This CL also adds some breaks to mimic the code before a SRC was added
to AAudio.

Bug: 310282314
Test: OboeTester Test Output
Change-Id: I2c2106a4727bcb3d880883b7ac494fea26fe7d96
parent 32d319ba
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