summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-06-25 10:44:24 -0700
committerAndreas Huber <andih@google.com>2010-06-25 10:44:24 -0700
commit9235bc896538e906e162aa5f9e11f8af04c29664 (patch)
tree4594550d3d65752af1c650054c735c8ecfdbda70 /media
parenta5522c94a437d9449fba9d8167409f5e357075b6 (diff)
downloadframeworks_av-9235bc896538e906e162aa5f9e11f8af04c29664.zip
frameworks_av-9235bc896538e906e162aa5f9e11f8af04c29664.tar.gz
frameworks_av-9235bc896538e906e162aa5f9e11f8af04c29664.tar.bz2
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
Change-Id: Iaedfb5645e3052a63789244c90900573f8449bac
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