commit | 54188de28dc7766ba578a7ce01c61151c6febdc0 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Mon Jun 02 18:54:08 2014 -0700 |
committer | Andy Hung <hunga@google.com> | Wed Jun 11 02:11:14 2014 +0000 |
tree | 9b80376477fd7d429ba7ce4ae1bd8e3e609e64a9 | |
parent | 8756d415b6c31ec72caf912910248fa7ab709d25 [diff] |
Update resampler to fetch exactly the frames needed This avoids unnecessary overfetching/releasing, which could cause problems with the upstream AudioBufferProvider. A one input sample delay is placed on the stream compared with the previous implementation. This change only affects the Dynamic resampler. Bug: 15548547 Change-Id: Ic7fcff130e0081b4724cfb5a00dc8e8b4a8b1af3 (cherry picked from commit 717007429a50c02d2acc704a8c1ebbe6760a2c22)