am 54a53841: Merge "Fetch at least 192KB to avoid our mp3 sniffer from blocking on data." into ics-mr1

* commit '54a53841a9ff48ba4cd004469ae4ff77caed900a':
  Fetch at least 192KB to avoid our mp3 sniffer from blocking on data.
This commit is contained in:
Dave Burke
2011-12-07 14:08:13 -08:00
committed by Android Git Automerger

View File

@ -2021,9 +2021,9 @@ status_t AwesomePlayer::finishSetDataSource_l() {
mLock.unlock();
// Initially make sure we have at least 128 bytes for the sniff
// Initially make sure we have at least 192 KB for the sniff
// to complete without blocking.
static const size_t kMinBytesForSniffing = 128;
static const size_t kMinBytesForSniffing = 192 * 1024;
off64_t metaDataSize = -1ll;
for (;;) {