commit | a10bd516e59e0960121486a491ccfedac67cc4b3 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Fri Sep 27 11:49:17 2019 -0700 |
committer | Phil Burk <philburk@google.com> | Fri Sep 27 11:49:17 2019 -0700 |
tree | 1de94bfe68a438ac280f8a766a375c2993ec4753 | |
parent | 3b93ca583af5296df1b4d45e4d16b5fba82205d2 [diff] |
aaudio: fix detection of input overflows Was incorrectly looking at the buffer size instead of the buffer capacity. Test: OboeTester ECHO INPUT to OUTPUT Test: set Input margin to 4 Test: XRun# for input should stay at zero Bug: 141700208 Change-Id: I21ecdac19f5361a1b33f4dc2aaec170de9e28fc6