diff options
author | Glenn Kasten <gkasten@google.com> | 2015-03-02 11:22:06 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2015-03-02 11:23:21 -0800 |
commit | bf5d0666b803921541e6a5d6abae05316e533855 (patch) | |
tree | 9e0060964c33f792454bd4a1884df472987f2c7d /tools/resampler_tools | |
parent | bf31b3301676ad86151f632e9ca186fd02445d86 (diff) | |
download | frameworks_av-bf5d0666b803921541e6a5d6abae05316e533855.zip frameworks_av-bf5d0666b803921541e6a5d6abae05316e533855.tar.gz frameworks_av-bf5d0666b803921541e6a5d6abae05316e533855.tar.bz2 |
Minor fixes to fir generator
Initialize variable with "= false", and remove trailing space in comment
Change-Id: I51135c1b6275e910155a0331b741e7d11b03fae2
Diffstat (limited to 'tools/resampler_tools')
-rw-r--r-- | tools/resampler_tools/fir.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/resampler_tools/fir.cpp b/tools/resampler_tools/fir.cpp index 4d0981b..fe4d212 100644 --- a/tools/resampler_tools/fir.cpp +++ b/tools/resampler_tools/fir.cpp @@ -99,7 +99,7 @@ int main(int argc, char** argv) double Fc = 20478; double atten = 1; int format = 0; // 0=fixed, 1=float - bool declarations = 0; + bool declarations = false; // in order to keep the errors associated with the linear // interpolation of the coefficients below the quantization error @@ -230,9 +230,9 @@ int main(int argc, char** argv) for (int i = M-1 ; i; i>>=1, nz++); // generate the right half of the filter if (!debug) { - printf("// cmd-line: "); + printf("// cmd-line:"); for (int i=0 ; i<argc ; i++) { - printf("%s ", argv[i]); + printf(" %s", argv[i]); } printf("\n"); if (declarations) { |