summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-11-18 16:42:19 -0800
committerSteve Kondik <steve@cyngn.com>2015-11-23 17:08:28 -0800
commit186221ad96a20d975cfb41a91023cfde37e95872 (patch)
treeb796376df5f13979af034eaba8898bb06eebeeaa /include
parent25c999ffe823890b1e0c86f64ee427e4ecae1c39 (diff)
downloadframeworks_av-186221ad96a20d975cfb41a91023cfde37e95872.zip
frameworks_av-186221ad96a20d975cfb41a91023cfde37e95872.tar.gz
frameworks_av-186221ad96a20d975cfb41a91023cfde37e95872.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/ACodec.h7
1 files changed, 5 insertions, 2 deletions
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<IOMXObserver> createObserver();
+ status_t setupRawAudioFormatInternal(
+ OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels,
+ int32_t bitsPerSample);
+
DISALLOW_EVIL_CONSTRUCTORS(ACodec);
};