diff options
| author | Andreas Huber <andih@google.com> | 2010-06-25 11:03:42 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-06-25 11:03:42 -0700 |
| commit | 357f8209f3aec63fa2779da4eeab8825f80b0a41 (patch) | |
| tree | 22f221e53ef25e7343a8a15968a902e52cd38bc3 | |
| parent | 6feaa46496bae85adbe10e84611592612f898081 (diff) | |
| parent | 909a8cf62cd3c7ddbb14740b733966f43dd3c361 (diff) | |
| download | frameworks_base-357f8209f3aec63fa2779da4eeab8825f80b0a41.zip frameworks_base-357f8209f3aec63fa2779da4eeab8825f80b0a41.tar.gz frameworks_base-357f8209f3aec63fa2779da4eeab8825f80b0a41.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
| -rw-r--r-- | media/libstagefright/include/NuCachedSource2.h | 4 |
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 |
