commit | 78c670e69cea1cc8c6874dc058c19b2a90f8df3e | [log] [tgz] |
---|---|---|
author | Marco Nelissen <marcone@google.com> | Tue Jun 25 10:50:35 2019 -0700 |
committer | Marco Nelissen <marcone@google.com> | Tue Jun 25 11:12:56 2019 -0700 |
tree | 99c9497a7d8f88231edd167de07d6d98fd850d5d | |
parent | a161bbe3bdf3c42ad2815411364e1d79f3d947c5 [diff] |
Speed up SimpleDecodingSource SimpleDecodingSource was waiting up to 5 milliseconds for each input buffer, when it should not have been waiting at all, and instead just check if there's an output buffer. This greatly increases throughput for files with small buffers such as audio files, e.g. a 6x speedup was observed for ogg and mp3 test streams. Test: stagefright Change-Id: If9fc91b823442926e8452d0e6cf95735b7248596