summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorGiulio Cervera <giulio.cervera@cyanogenmod.org>2013-06-01 20:04:56 +0200
committerGiulio Cervera <giulio.cervera@cyanogenmod.org>2013-06-01 20:04:56 +0200
commit0dcf5b32a1bfe723568ee16d1155db668a2e0f4c (patch)
treef0d4a047aa3f1b15df3bfa32110e606dff363da9 /media
parentae57fbc021cfc8b018cfb23b90112b1b17173d1b (diff)
downloadframeworks_av-0dcf5b32a1bfe723568ee16d1155db668a2e0f4c.zip
frameworks_av-0dcf5b32a1bfe723568ee16d1155db668a2e0f4c.tar.gz
frameworks_av-0dcf5b32a1bfe723568ee16d1155db668a2e0f4c.tar.bz2
Revert "frameworks/av: Add metadata mode changes to LPAPlayer"
This reverts commit ae57fbc021cfc8b018cfb23b90112b1b17173d1b.
Diffstat (limited to 'media')
-rw-r--r--media/libstagefright/LPAPlayerALSA.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/media/libstagefright/LPAPlayerALSA.cpp b/media/libstagefright/LPAPlayerALSA.cpp
index e2f30ed..0aa419c 100644
--- a/media/libstagefright/LPAPlayerALSA.cpp
+++ b/media/libstagefright/LPAPlayerALSA.cpp
@@ -51,9 +51,10 @@
static const char mName[] = "LPAPlayer";
-#define MEM_METADATA_SIZE 64
-#define MEM_BUFFER_SIZE ((256*1024) - MEM_METADATA_SIZE)
+#define MEM_PADDING 64
+#define MEM_BUFFER_SIZE (256*1024)
#define MEM_BUFFER_COUNT 4
+
#define PCM_FORMAT 2
#define NUM_FDS 2
#define LPA_BUFFER_TIME 1500000