Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eebeceec authored by Dave Burke's avatar Dave Burke Committed by Android Git Automerger
Browse files

am 6727a43f: am 54a53841: Merge "Fetch at least 192KB to avoid our mp3 sniffer...

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

* commit '6727a43f6d8ff193b86ca90b2daa761c47157638':
  Fetch at least 192KB to avoid our mp3 sniffer from blocking on data.
parents 43afd557 59a6c287
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 (;;) {