commit | 32d319bad9abf363ac4edc924073c27b09534e14 | [log] [tgz] |
---|---|---|
author | Robert Wu <robertwu@google.com> | Thu Nov 09 22:40:52 2023 +0000 |
committer | Robert Wu <robertwu@google.com> | Sat Nov 11 00:27:24 2023 +0000 |
tree | 17bdd04258a4a7da1e3a713566130fae5e532319 | |
parent | 9b39b173a54665b30e8d42f3cac1f1b94fe5c5b7 [diff] |
AAudio: Improve buffer size calculations This CL improves the calculations for both burst and buffer sizes. 1. This CL now uses the hardware burst size for its calculations. 2. This CL now uses a number of bursts for buffer size calculations. Bug: 310024737 Test: OboeTester glitch test with loopback dongle Change-Id: I04db1342a55b18a2e9b076052b4b3b0965a4c511