summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Nathan <ralphnathan@google.com>2015-10-28 18:33:27 -0700
committerLee Campbell <leecam@google.com>2015-11-11 10:19:32 -0800
commitbb149b20ee722f149eea393c0b73cabe6d8066d7 (patch)
tree1d65ff3590255a1a816a812e92e5df2b4bc1e058
parent13bb738cdc869ff9904bcadb9df4ac80a44803d0 (diff)
downloaddragonboard-bb149b20ee722f149eea393c0b73cabe6d8066d7.tar.gz
audio: Allow playback of wav files.
The media_codecs file doesn't have support for playing raw audio. Add support for it. BUG=25357564 TEST="slesTest_playFdPath /data/file.wav 0" passes Change-Id: Id60244b80d3037f1ee568a570f41df63a9077b67
-rw-r--r--base_product/media_codecs_8916.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/base_product/media_codecs_8916.xml b/base_product/media_codecs_8916.xml
index 2efce89..ef8ce7e 100644
--- a/base_product/media_codecs_8916.xml
+++ b/base_product/media_codecs_8916.xml
@@ -72,6 +72,11 @@
<MediaCodec name="OMX.qcom.audio.decoder.evrc" type="audio/evrc" >
<Quirk name="requires-global-flush" />
</MediaCodec>
+ <MediaCodec name="OMX.google.raw.decoder" type="audio/raw">
+ <Limit name="channel-count" max="8" />
+ <Limit name="sample-rate" ranges="8000-96000" />
+ <Limit name="bitrate" range="1-10000000" />
+ </MediaCodec>
<!-- Video Hardware -->
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" />