summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioResampler.h
diff options
context:
space:
mode:
authorSathishKumar Mani <smani@codeaurora.org>2012-01-17 10:49:47 -0800
committerIliyan Malchev <malchev@google.com>2012-09-26 18:48:44 -0700
commit76b111685010e1fea7c0a865c038aee35507fde4 (patch)
tree25a9d24b4cc23476d25cc026ff0888a3ffcf73e8 /services/audioflinger/AudioResampler.h
parent12bff5dd87e6b863482e6bfd9f4561078ebcf3f0 (diff)
downloadframeworks_av-76b111685010e1fea7c0a865c038aee35507fde4.zip
frameworks_av-76b111685010e1fea7c0a865c038aee35507fde4.tar.gz
frameworks_av-76b111685010e1fea7c0a865c038aee35507fde4.tar.bz2
audioflinger: use resample coefficients from audio-resampler library.
-Add a separate quality VERY_HIGH_QUALITY in resampler -Use resample coefficients audio-resampler library for quality VERY_HIGH_QUALITY. -This improves the quality of resampled output. Bug: 7024293 Change-Id: Ia44142413bed5f5963d7eab7846eec877a2415e4 Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'services/audioflinger/AudioResampler.h')
-rw-r--r--services/audioflinger/AudioResampler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/audioflinger/AudioResampler.h b/services/audioflinger/AudioResampler.h
index dc696d8..71cdfda 100644
--- a/services/audioflinger/AudioResampler.h
+++ b/services/audioflinger/AudioResampler.h
@@ -38,7 +38,8 @@ public:
DEFAULT=0,
LOW_QUALITY=1,
MED_QUALITY=2,
- HIGH_QUALITY=3
+ HIGH_QUALITY=3,
+ VERY_HIGH_QUALITY=255
};
static AudioResampler* create(int bitDepth, int inChannelCount,