diff options
author | Changwan Ryu <changwan@google.com> | 2013-10-28 10:53:48 +0900 |
---|---|---|
committer | Changwan Ryu <changwan@google.com> | 2013-11-06 09:14:51 +0900 |
commit | 97358c3e1adaf4a744cad78891a16d12e3e9c88e (patch) | |
tree | 585f91ad6f4929d4f34abf43964de13a7c2e3fde /include | |
parent | 774eb18c40c3a7da0bc1636a9779f02315ddbad8 (diff) | |
download | frameworks_av-97358c3e1adaf4a744cad78891a16d12e3e9c88e.zip frameworks_av-97358c3e1adaf4a744cad78891a16d12e3e9c88e.tar.gz frameworks_av-97358c3e1adaf4a744cad78891a16d12e3e9c88e.tar.bz2 |
Support AC3 in stagefright
Change-Id: I12016b424bd069413bd6e380ff11484e175e05f3
Diffstat (limited to 'include')
-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 a8ffd4a..15c99a5 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -247,6 +247,8 @@ private: int32_t numChannels, int32_t sampleRate, int32_t bitRate, int32_t aacProfile, bool isADTS); + status_t setupAC3Codec(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 85693d4..cf5beda 100644 --- a/include/media/stagefright/MediaDefs.h +++ b/include/media/stagefright/MediaDefs.h @@ -44,6 +44,7 @@ extern const char *MEDIA_MIMETYPE_AUDIO_RAW; 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_CONTAINER_MPEG4; extern const char *MEDIA_MIMETYPE_CONTAINER_WAV; |