From ab35ee6f52fb9ad55f01eaf2dc745f7f00863d67 Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Mon, 21 Dec 2015 05:13:15 -0500 Subject: stagefright: Deal with output format of other AAC decoders * Pass the bits-per-sample value when setting up the raw PCM output in case FFMPEG is decoding as it will produce floats. Change-Id: If5a8cc43a1c41e522324e77871823c9084f92169 --- include/media/stagefright/ACodec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/media') diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index d28d3d9..cbc2ba6 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -350,7 +350,7 @@ protected: int32_t numChannels, int32_t sampleRate, int32_t bitRate, int32_t aacProfile, bool isADTS, int32_t sbrMode, int32_t maxOutputChannelCount, const drcParams_t& drc, - int32_t pcmLimiterEnable); + int32_t pcmLimiterEnable, int32_t bitsPerSample = 16); status_t setupAC3Codec(bool encoder, int32_t numChannels, int32_t sampleRate, int32_t bitsPerSample = 16); -- cgit v1.1