commit | c2dd127266303bb36de5a8ea72ea7af0ceaee130 | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Tue Oct 26 19:39:51 2021 -0400 |
committer | Atneya Nair <atneya@google.com> | Wed Oct 27 16:18:55 2021 -0400 |
tree | cbcadbc1ff81cb3939617a89ed2f73c7a5ea6e00 | |
parent | 6a8238eb5e3f3231a060b814b819aa2ec2b88a1d [diff] |
Update written size correctly in callback thread The original refactor did not update buffer.size correctly before calling releaseBuffer leading to skipping issues when the requested size was not provided. This fixes this issue. Bug: 204055298 Test: Identical callback trace for YTMusic Test: YTMusic plays back successfully Test: OpenSLES pathway in Oboe Tester has expected output Change-Id: Ifbf177ae43fa4c2a61027af6c131846961c09cd8