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 | 7c4349fe6e1e4faaa0c0db40a74f2ccbac46f57e (patch) | |
tree | eb8b8e9ce47c23eddd15aac214f3591de73a9166 /tools | |
parent | 3e48fd11e3fca5c1d03354a99657298e110be56a (diff) | |
download | frameworks_av-7c4349fe6e1e4faaa0c0db40a74f2ccbac46f57e.zip frameworks_av-7c4349fe6e1e4faaa0c0db40a74f2ccbac46f57e.tar.gz frameworks_av-7c4349fe6e1e4faaa0c0db40a74f2ccbac46f57e.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; |