summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/ACodec.cpp
diff options
context:
space:
mode:
authorPreetam Singh Ranawat <apranawat@codeaurora.org>2015-07-23 08:59:47 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:24:28 -0600
commitfd42e7afbe43eca5ab6835f8b2720b7e0e8302e0 (patch)
tree13b03bf4eb20ffbf7740e96078f218c63fe6652a /media/libstagefright/ACodec.cpp
parentab9bb1594982ad1affed948711d6f487e1c90271 (diff)
downloadframeworks_av-fd42e7afbe43eca5ab6835f8b2720b7e0e8302e0.zip
frameworks_av-fd42e7afbe43eca5ab6835f8b2720b7e0e8302e0.tar.gz
frameworks_av-fd42e7afbe43eca5ab6835f8b2720b7e0e8302e0.tar.bz2
AVCustomizations: Enable 16 and 24 bit PCM offload.
-create extended decoder and renderer -add change to pass bit width and format info to renderer. -add change for PCM conversions -add changes for time calucation Conflicts: media/libmediaplayerservice/nuplayer/NuPlayer.cpp Change-Id: I3363140fad441a7746884076c40b46e777f2e06e
Diffstat (limited to 'media/libstagefright/ACodec.cpp')
-rw-r--r--media/libstagefright/ACodec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp
index 5f8453f..b4ec446 100644
--- a/media/libstagefright/ACodec.cpp
+++ b/media/libstagefright/ACodec.cpp
@@ -4201,7 +4201,7 @@ status_t ACodec::getPortFormat(OMX_U32 portIndex, sp<AMessage> &notify) {
notify->setString("mime", MEDIA_MIMETYPE_AUDIO_RAW);
notify->setInt32("channel-count", params.nChannels);
notify->setInt32("sample-rate", params.nSamplingRate);
-
+ notify->setInt32("bit-width", params.nBitPerSample);
if (mChannelMaskPresent) {
notify->setInt32("channel-mask", mChannelMask);
}