commit | 18c8476f1f86c81e55812ce0d34a977d435b6c5d | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Tue Dec 18 12:15:35 2018 -0800 |
committer | Phil Burk <philburk@google.com> | Fri Feb 01 00:40:08 2019 +0000 |
tree | 43289662d9b97d0dc23af18cc360c5726465c4b6 | |
parent | bd63c6ffe67b3555262e85f23a4f26b4ff057404 [diff] |
aaudio: fix framesWritten for Legacy INPUT Was set to 2X framesRead on stop. It turns out that AudioRecord::stop() does NOT reset getPosition() to zero. But AudioRecord::start() does. So the logic handling the reset had to move to the start code. Bug: 121196899 Test: test_return_stop -i -n Change-Id: I93635f9ba501b71b99b1df34c7920f7bfea5ca88