summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/OMXCodec.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-04-24 12:48:18 -0700
committerAndreas Huber <andih@google.com>2012-04-24 14:45:25 -0700
commitc1d8115e8a0bdaeb2b723d395b9a85a02c90c933 (patch)
tree09339f44279672f1bfa79cbb9c667830f17ae9a4 /include/media/stagefright/OMXCodec.h
parent1dc28b794587be22c90a97070d928f94586db638 (diff)
downloadframeworks_av-c1d8115e8a0bdaeb2b723d395b9a85a02c90c933.zip
frameworks_av-c1d8115e8a0bdaeb2b723d395b9a85a02c90c933.tar.gz
frameworks_av-c1d8115e8a0bdaeb2b723d395b9a85a02c90c933.tar.bz2
Make sure OMXCodec and ACodec both accept more than 2 channels of audio
and fill in the OMX channel mask properly. Change-Id: I915950a0b252142b9eb3277cf7c6e0d9f5875305
Diffstat (limited to 'include/media/stagefright/OMXCodec.h')
-rw-r--r--include/media/stagefright/OMXCodec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h
index bf054ac..055da5d 100644
--- a/include/media/stagefright/OMXCodec.h
+++ b/include/media/stagefright/OMXCodec.h
@@ -24,6 +24,8 @@
#include <media/stagefright/MediaSource.h>
#include <utils/threads.h>
+#include <OMX_Audio.h>
+
namespace android {
struct MediaCodecList;
@@ -390,6 +392,8 @@ status_t QueryCodec(
bool isEncoder,
CodecCapabilities *caps);
+status_t getOMXChannelMapping(size_t numChannels, OMX_AUDIO_CHANNELTYPE map[]);
+
} // namespace android
#endif // OMX_CODEC_H_