summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-09-28 12:37:36 -0700
committerAndreas Huber <andih@google.com>2011-09-28 12:37:36 -0700
commit729de186450f78c099637e1fce743fe531862c52 (patch)
treebf05611a1943104189abce2f9b09514f2ec2adeb /include
parentac4d4d3698e920b9f5c648a781df5b6af8bcfdf0 (diff)
downloadframeworks_av-729de186450f78c099637e1fce743fe531862c52.zip
frameworks_av-729de186450f78c099637e1fce743fe531862c52.tar.gz
frameworks_av-729de186450f78c099637e1fce743fe531862c52.tar.bz2
Support AMR, G.711 and vorbis audio in ACodec and friends.
Change-Id: I08c03219bf2d60fc5c6e89957bd4b4c615570983
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/ACodec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h
index 9da9907..5822877 100644
--- a/include/media/stagefright/ACodec.h
+++ b/include/media/stagefright/ACodec.h
@@ -151,6 +151,12 @@ private:
OMX_VIDEO_CODINGTYPE compressionFormat);
status_t setupAACDecoder(int32_t numChannels, int32_t sampleRate);
+ status_t setupAMRDecoder(bool isWAMR);
+ status_t setupG711Decoder(int32_t numChannels);
+
+ status_t setupRawAudioFormat(
+ OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels);
+
status_t setMinBufferSize(OMX_U32 portIndex, size_t size);
status_t initNativeWindow();