Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6a69e114 authored by Shengbao Xu's avatar Shengbao Xu Committed by Marco Nelissen
Browse files

Add mp2 container and codec support

AOSP doesn't support audio mp2 file, so mp2 audio file
with file extension .mp2 cannot be identified as an audio.

1. Add mp2 extension to mp3extractor.cpp and cannot use
mp2extractor as demuxer for mp2 file
2. Add MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_II to Acodec.cpp when
configure omx component params; then audio channel and
samplerate can be configured correctly when init omx component

Bug: 123730913
Test: play mp2 file
Change-Id: I42d7cbc578f801df13f249ff41442f1ebf0e5180
parent 5479d73c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment