diff options
author | Mathias Agopian <mathias@google.com> | 2012-10-29 17:13:20 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-10-29 17:13:20 -0700 |
commit | b4b75b47c2a4248e60bbc3229d6acc4d5f872431 (patch) | |
tree | 55de9b4294936b7453e36b5afa24b59770ae1a37 /tools | |
parent | 9aec8c3f7f72cd36a8e3d7aafc1149f50514087a (diff) | |
download | frameworks_av-b4b75b47c2a4248e60bbc3229d6acc4d5f872431.zip frameworks_av-b4b75b47c2a4248e60bbc3229d6acc4d5f872431.tar.gz frameworks_av-b4b75b47c2a4248e60bbc3229d6acc4d5f872431.tar.bz2 |
fir a typo that caused up-sampling coefficiens to be wrong
up-sample coefficient were generated with a cut-off frequency of 24KHz
intead of ~20KHz, which caused more aliasing in the audible band.
also increased the attenuation to 1.3 dB on both up and down
sampling coefficient to avoid clipping.
Change-Id: Ie8aeecf1429190541b656810c6716b6aae5ece2e
Diffstat (limited to 'tools')
-rw-r--r-- | tools/resampler_tools/fir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/resampler_tools/fir.cpp b/tools/resampler_tools/fir.cpp index 14707d1..acd9911 100644 --- a/tools/resampler_tools/fir.cpp +++ b/tools/resampler_tools/fir.cpp @@ -84,7 +84,7 @@ int main(int argc, char** argv) unsigned int polyN = 147; bool debug = false; double Fs = 48000; - double Fc = 24000; + double Fc = 20478; double atten = 1; int format = 0; |