diff options
author | SathishKumar Mani <smani@codeaurora.org> | 2012-01-17 10:49:47 -0800 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2012-09-26 18:48:44 -0700 |
commit | 76b111685010e1fea7c0a865c038aee35507fde4 (patch) | |
tree | 25a9d24b4cc23476d25cc026ff0888a3ffcf73e8 /services/audioflinger/AudioResampler.h | |
parent | 12bff5dd87e6b863482e6bfd9f4561078ebcf3f0 (diff) | |
download | frameworks_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.h | 3 |
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, |