diff options
author | Ralph Nathan <ralphnathan@google.com> | 2015-10-28 18:33:27 -0700 |
---|---|---|
committer | Ralph Nathan <ralphnathan@google.com> | 2015-10-29 01:43:37 +0000 |
commit | e649dad316dc26e3da8b4ca0fab3c7221afa8a19 (patch) | |
tree | 1089ac7eac7e22e32bc6684ae27eead80dc78f8b | |
parent | 3de5bef3483d483b799907a7e04f3e173b3d75b2 (diff) | |
download | dragonboard-e649dad316dc26e3da8b4ca0fab3c7221afa8a19.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.xml | 5 |
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" /> |