summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-06-25 11:03:42 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-06-25 11:03:42 -0700
commit1f80fe4a1fb18dbf797720b5c3b4c1b437406faf (patch)
treeb60a75274a62b8a6ebe41cd5c6f19d1c477a7082 /media
parent2dec2b5be2056c6d9428897dc672185872d30d17 (diff)
parent9235bc896538e906e162aa5f9e11f8af04c29664 (diff)
downloadframeworks_av-1f80fe4a1fb18dbf797720b5c3b4c1b437406faf.zip
frameworks_av-1f80fe4a1fb18dbf797720b5c3b4c1b437406faf.tar.gz
frameworks_av-1f80fe4a1fb18dbf797720b5c3b4c1b437406faf.tar.bz2
Merge "Finetune some of the prefetcher parameters to a) buffer as much as froyo did b) ensure that keepalives actually trigger a network read instead of just draining internal buffers" into gingerbread
Diffstat (limited to 'media')
-rw-r--r--media/libstagefright/include/NuCachedSource2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/include/NuCachedSource2.h b/media/libstagefright/include/NuCachedSource2.h
index f73e837..3a20c16 100644
--- a/media/libstagefright/include/NuCachedSource2.h
+++ b/media/libstagefright/include/NuCachedSource2.h
@@ -49,8 +49,8 @@ private:
friend struct AHandlerReflector<NuCachedSource2>;
enum {
- kPageSize = 16384,
- kHighWaterThreshold = 3 * 1024 * 1024,
+ kPageSize = 65536,
+ kHighWaterThreshold = 5 * 1024 * 1024,
kLowWaterThreshold = 512 * 1024,
// Read data after a 15 sec timeout whether we're actively