commit | a31335a4ec96ba351f25f3b26fa79a78c2723a13 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Wed Aug 20 17:37:59 2014 -0700 |
committer | Andy Hung <hunga@google.com> | Thu Aug 21 16:51:28 2014 -0700 |
tree | 2c1aea6357ac46dcdeecc0b1b5b80a4b6bd05cd3 | |
parent | 2a1bcb8347ad4778a49bb340c3ed28ba27caa7d7 [diff] |
Fix SoundPool and MediaPlayerService buffer overflow Overflow occurs when SoundPool sample tracks cannot fit in the MediaPlayerService AudioCache buffer. Unnecessary decoding occurred with AwesomePlayer and an assert failure occurred with NuPlayer. NuPlayerRenderer is also tweaked to handle the latter case. Bug: 17122639 Change-Id: I4d25d3e2c0c62e36a91da6bf969edabddc2ebbb0