commit | 41852688c913af0961a72bc5e2c2155404ae2038 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Fri Mar 29 10:58:15 2019 -0700 |
committer | Phil Burk <philburk@google.com> | Fri Mar 29 11:03:00 2019 -0700 |
tree | d6963dc94c8b812786faf2b11325b77c99c24a02 | |
parent | a0a01876835b0b6342c8e695662d9d92816bf95c [diff] |
aaudio: set buffer size to at least one burst Clip setBufferSizeInFrames() to at least one burst for Legacy streams to avoid underruns. Bug: 129545119 Test: Look at BufferSize when you run this. Test: adb shell write_sine_callback -pn -n0 Test: It should not glitch. Change-Id: Id82862d59122ba2d9dd98dff579b5c147e40fab5