summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioResamplerQTI.h
diff options
context:
space:
mode:
authorZhou Song <zhous@codeaurora.org>2015-11-19 13:49:18 +0800
committerSteve Kondik <steve@cyngn.com>2016-04-13 13:54:55 -0700
commit0d34354e3e6e70ecce4cbef30d7dc6a1b9bcf328 (patch)
treeee5e2ce4bb86f2f511adb6b5688e2b393ce7512e /services/audioflinger/AudioResamplerQTI.h
parent02d9acdc44c96db48f28e79fd60cfbfe8e6ddfd9 (diff)
downloadframeworks_av-0d34354e3e6e70ecce4cbef30d7dc6a1b9bcf328.zip
frameworks_av-0d34354e3e6e70ecce4cbef30d7dc6a1b9bcf328.tar.gz
frameworks_av-0d34354e3e6e70ecce4cbef30d7dc6a1b9bcf328.tar.bz2
audio: QTI resampler supports for 32 bit input format
Configure QTI resampler as 32 bit input format to avoid losing precision. audioflinger: add channel count check to use QTI resampler Change-Id: I8f76dd82b72a0dd8b77343e77e0d0545e1be2114 CRs-Fixed: 940287 Change-Id: I7e1b8582cd6bb106ab0bd25f9bc1bd9e4092318b
Diffstat (limited to 'services/audioflinger/AudioResamplerQTI.h')
-rw-r--r--services/audioflinger/AudioResamplerQTI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioResamplerQTI.h b/services/audioflinger/AudioResamplerQTI.h
index 0b30a9f..1cf93fc 100644
--- a/services/audioflinger/AudioResamplerQTI.h
+++ b/services/audioflinger/AudioResamplerQTI.h
@@ -35,7 +35,7 @@ public:
size_t getNumInSample(size_t outFrameCount);
int16_t *mState;
- int16_t *mTmpBuf;
+ int32_t *mTmpBuf;
int32_t *mResamplerOutBuf;
size_t mFrameIndex;
size_t stateSize;