commit | 6641f9d4a6c7bbc070f924c55af2d213d942ef4e | [log] [tgz] |
---|---|---|
author | Robert Wu <robertwu@google.com> | Sat Nov 11 00:30:56 2023 +0000 |
committer | Robert Wu <robertwu@google.com> | Sat Nov 11 00:36:08 2023 +0000 |
tree | 6d0590ca8f674251d6ac3e57ddc7400e10f3689a | |
parent | 32d319bad9abf363ac4edc924073c27b09534e14 [diff] |
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