commit | b06277eff473ca8c2d7f403fd39cd954b282484a | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Thu Apr 18 12:19:30 2019 -0700 |
committer | Andy Hung <hunga@google.com> | Thu Apr 18 13:23:26 2019 -0700 |
tree | 8879f3f3e33f270cca741f3f0eae9a551cbe18ef | |
parent | 2cb1a8ccbd402d74a06ee34721f5dd787ecb396f [diff] |
RecordBufferConverter: Release converter buffer after conversion Required to ensure the RecordThread understands the true number of frames consumed / available. Otherwise the RecordThread thinks there are more frames than actually present, causing a buffer provider underrun in the AudioResampler and the resampler to reset. Test: BT phone call, Tee sink Bug: 130419319 Change-Id: I96fac6f52233e8519c0cc098329e5b9b89c1dd89