From 186221ad96a20d975cfb41a91023cfde37e95872 Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Wed, 18 Nov 2015 16:42:19 -0800 Subject: stagefright: Don't break the ABI in ACodec * Qualcomm's proprietary extension is doing some seriously bad stuff. This is not going to be fun to maintain. Change-Id: I7d9d709e7a1dfb3107a4c3ae7b2f15ddaa0fab74 --- include/media/stagefright/ACodec.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/media') diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index 2e621fe..a3c3ea1 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -363,8 +363,7 @@ protected: bool encoder, int32_t numChannels, int32_t sampleRate, int32_t compressionLevel); status_t setupRawAudioFormat( - OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels, - int32_t bitsPerSample = 16); + OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels); status_t setPriority(int32_t priority); status_t setOperatingRate(float rateFloat, bool isVideo); @@ -460,6 +459,10 @@ protected: sp createObserver(); + status_t setupRawAudioFormatInternal( + OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels, + int32_t bitsPerSample); + DISALLOW_EVIL_CONSTRUCTORS(ACodec); }; -- cgit v1.1