commit | 3c53c69a4e7bf19907f9ee0dbe4029965e2cfa05 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Mon Mar 08 11:07:24 2010 -0800 |
committer | Andreas Huber <andih@google.com> | Mon Mar 08 11:07:24 2010 -0800 |
tree | 49cc242caf9b2d9bdc3d639b84b62f44e22fcd02 | |
parent | bb2bf8fa33cebeb3233afa0e296f3fd93be7c48b [diff] |
The prefetched source was unnecessarily holding a lock while receiving data from the network, sometimes blocking for seconds over 2G networks with corresponding drops in audio playback. Also, if the cache was full we'd report a cache duration of 0 instead of maximum size. Change-Id: I46c8083f12f2dd728302095369197ca7e6b78bf8 related-to-bugs: 2492187, 2444425