summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioResampler.h
diff options
context:
space:
mode:
authorYamit Mehta <ymehta@codeaurora.org>2015-08-26 21:00:40 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:25:11 -0600
commit197cd79c6314ac2e14ce94624e21f3c4e38dca7c (patch)
tree84ee12ebdb6bab4cca5c07d5e58af1c23284505e /services/audioflinger/AudioResampler.h
parentdfee9b751a7c2b71fe87cd11162f717b898d6a21 (diff)
downloadframeworks_av-197cd79c6314ac2e14ce94624e21f3c4e38dca7c.zip
frameworks_av-197cd79c6314ac2e14ce94624e21f3c4e38dca7c.tar.gz
frameworks_av-197cd79c6314ac2e14ce94624e21f3c4e38dca7c.tar.bz2
audio: Audio resampler support for 192Khz playback
Add support for QTI audio resampler audio: Audio resampler support for 192Khz playback Change-Id: Ia8f24a0874ebf6e16ef7bd1f2759a14f47149875 audio: Add audio mixing support for qti resampler Change-Id: Ib657aa12b2a72323564148c302ff8891e1bb7433 AudioMixer: Extend use of QTI resampler for 44.1Khz sampling rate Change-Id: I2a819dbc9f1e3e280cb4fa79328e331883a3e981 AudioMixer: fill 0s at right place when no more buffers available Change-Id: I50504c5a02eb0c69abfc9b047792b0f6f85b9ce8 audioflinger: add channel count check to use QTI resampler Change-Id: I8f76dd82b72a0dd8b77343e77e0d0545e1be2114 Change-Id: Ia8f24a0874ebf6e16ef7bd1f2759a14f47149875
Diffstat (limited to 'services/audioflinger/AudioResampler.h')
-rw-r--r--services/audioflinger/AudioResampler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/audioflinger/AudioResampler.h b/services/audioflinger/AudioResampler.h
index a8e3e6f..6669a85 100644
--- a/services/audioflinger/AudioResampler.h
+++ b/services/audioflinger/AudioResampler.h
@@ -47,6 +47,9 @@ public:
DYN_LOW_QUALITY=5,
DYN_MED_QUALITY=6,
DYN_HIGH_QUALITY=7,
+#ifdef QTI_RESAMPLER
+ QTI_QUALITY=8,
+#endif
};
static const CONSTEXPR float UNITY_GAIN_FLOAT = 1.0f;