commit | 717007429a50c02d2acc704a8c1ebbe6760a2c22 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Mon Jun 02 18:54:08 2014 -0700 |
committer | Andy Hung <hunga@google.com> | Tue Jun 03 11:47:15 2014 -0700 |
tree | 5eca5ca9a10704a55774dd8a18006a19d1a99bd7 | |
parent | 8f415570afb174f0781d8bf6b1c0fa6bdecca7cd [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. Change-Id: Ic7fcff130e0081b4724cfb5a00dc8e8b4a8b1af3