summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2012-10-19 14:52:16 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2012-10-19 14:52:16 -0700
commitcc694bc0d0ff77aa7b28cd814668ac6983da368c (patch)
tree6723bb84f4c53b7f689aa30891e770b4814fa7ab /media
parent569661450b446f957f58b6690bff30f94542b737 (diff)
downloadframeworks_av-cc694bc0d0ff77aa7b28cd814668ac6983da368c.zip
frameworks_av-cc694bc0d0ff77aa7b28cd814668ac6983da368c.tar.gz
frameworks_av-cc694bc0d0ff77aa7b28cd814668ac6983da368c.tar.bz2
AAC DRC reference level for mobile is -16dB
Use -16dB as the default DRC reference level when decoding streams with DRC metadata. Bug 7370764 Change-Id: I900cee22f32384a5657fb041b69d42657bcddf09
Diffstat (limited to 'media')
-rw-r--r--media/libstagefright/codecs/aacdec/SoftAAC2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/codecs/aacdec/SoftAAC2.cpp b/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
index ff8cc3e..d88813e 100644
--- a/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
+++ b/media/libstagefright/codecs/aacdec/SoftAAC2.cpp
@@ -27,7 +27,7 @@
#define FILEREAD_MAX_LAYERS 2
-#define DRC_DEFAULT_MOBILE_REF_LEVEL 48 /* 48*-0.25dB = -12 dB below full scale for mobile conf */
+#define DRC_DEFAULT_MOBILE_REF_LEVEL 64 /* 64*-0.25dB = -16 dB below full scale for mobile conf */
#define DRC_DEFAULT_MOBILE_DRC_CUT 127 /* maximum compression of dynamic range for mobile conf */
#define MAX_CHANNEL_COUNT 6 /* maximum number of audio channels that can be decoded */
// names of properties that can be used to override the default DRC settings