diff options
author | Rachad <rachad@google.com> | 2014-12-23 16:10:32 -0800 |
---|---|---|
committer | Rachad <rachad@google.com> | 2014-12-23 16:10:32 -0800 |
commit | 8a4728966dc9c78e21c3c93a927707e93c05e5e0 (patch) | |
tree | 6b27f91419fcecb7d06f277b03d74e68676e8d68 /include/media | |
parent | 0d19abb440c7e62e944efbeadf02299990f9a589 (diff) | |
download | frameworks_av-8a4728966dc9c78e21c3c93a927707e93c05e5e0.zip frameworks_av-8a4728966dc9c78e21c3c93a927707e93c05e5e0.tar.gz frameworks_av-8a4728966dc9c78e21c3c93a927707e93c05e5e0.tar.bz2 |
ACodec: Added support for E-AC3 decoders
Bug: 17883772
Change-Id: I05f674c33522eec0e6ceeece88dd800b1857b3ab
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/stagefright/ACodec.h | 2 | ||||
-rw-r--r-- | include/media/stagefright/MediaDefs.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index 4d4ce90..f448359 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -282,6 +282,8 @@ private: status_t setupAC3Codec(bool encoder, int32_t numChannels, int32_t sampleRate); + status_t setupEAC3Codec(bool encoder, int32_t numChannels, int32_t sampleRate); + status_t selectAudioPortFormat( OMX_U32 portIndex, OMX_AUDIO_CODINGTYPE desiredFormat); diff --git a/include/media/stagefright/MediaDefs.h b/include/media/stagefright/MediaDefs.h index e67d4d5..13695d5 100644 --- a/include/media/stagefright/MediaDefs.h +++ b/include/media/stagefright/MediaDefs.h @@ -47,6 +47,7 @@ extern const char *MEDIA_MIMETYPE_AUDIO_FLAC; extern const char *MEDIA_MIMETYPE_AUDIO_AAC_ADTS; extern const char *MEDIA_MIMETYPE_AUDIO_MSGSM; extern const char *MEDIA_MIMETYPE_AUDIO_AC3; +extern const char *MEDIA_MIMETYPE_AUDIO_EAC3; extern const char *MEDIA_MIMETYPE_CONTAINER_MPEG4; extern const char *MEDIA_MIMETYPE_CONTAINER_WAV; |