diff options
author | Haynes Mathew George <hgeorge@codeaurora.org> | 2013-02-01 16:25:06 -0800 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2013-02-16 07:14:28 -0800 |
commit | 74f0b6d28fa63ca4d07a35d2bf02088fa390e5a8 (patch) | |
tree | 24d7a54f4e9ebbff70a51c3a2978fe5b407f7b2f | |
parent | 125cfa76976beb9d5b817fbacccd8f7b29f009c2 (diff) | |
download | frameworks_av-74f0b6d28fa63ca4d07a35d2bf02088fa390e5a8.zip frameworks_av-74f0b6d28fa63ca4d07a35d2bf02088fa390e5a8.tar.gz frameworks_av-74f0b6d28fa63ca4d07a35d2bf02088fa390e5a8.tar.bz2 |
libstagefright: Adjustment for TunnelPlayer buffer size
- Make necessary adjustments to align the buffer size
for TunnelPlayer to satisfy the following conditions
- Buffer size is a multiple of LCM(1,2,4,6,8)
- Buffer size is aligned to 4k.
CRs-Fixed: 447274, 442365
Change-Id: I1b7f9ac3cf8ff86f972a8b6798bfcff3a4ba7c64
-rw-r--r-- | media/libstagefright/TunnelPlayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/TunnelPlayer.cpp b/media/libstagefright/TunnelPlayer.cpp index 564f916..c5f8066 100644 --- a/media/libstagefright/TunnelPlayer.cpp +++ b/media/libstagefright/TunnelPlayer.cpp @@ -51,7 +51,7 @@ static const char mName[] = "TunnelPlayer"; #define MEM_METADATA_SIZE 64 #define MEM_PADDING 64 -#define MEM_BUFFER_SIZE (256*1024 - MEM_METADATA_SIZE) +#define MEM_BUFFER_SIZE (240*1024 - MEM_METADATA_SIZE) #define MEM_BUFFER_COUNT 4 #define TUNNEL_BUFFER_TIME 1500000 |