diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-07-22 12:03:39 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-07-22 12:03:39 +0200 |
commit | bdb970e4957b7d1cf22bc530a81b2b8a2ae9a2ce (patch) | |
tree | e462a1dd9e98a9a6c7db54eeb800e47e011b3ce3 /Transceiver52M/Resampler.cpp | |
parent | e6319ed32ad7e9d0739772d07ff230071c8f7973 (diff) |
cosmetic: Fix trailing whitespace in several files
Change-Id: Ifafb68353960fc5046661854ccfb8d783b0efb14
Diffstat (limited to 'Transceiver52M/Resampler.cpp')
-rw-r--r-- | Transceiver52M/Resampler.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Transceiver52M/Resampler.cpp b/Transceiver52M/Resampler.cpp index ecd8865..f545db8 100644 --- a/Transceiver52M/Resampler.cpp +++ b/Transceiver52M/Resampler.cpp @@ -51,7 +51,7 @@ void Resampler::initFilters(float bw) float cutoff; float sum = 0.0f, scale = 0.0f; - /* + /* * Allocate partition filters and the temporary prototype filter * according to numerator of the rational rate. Coefficients are * real only and must be 16-byte memory aligned for SSE usage. @@ -60,10 +60,10 @@ void Resampler::initFilters(float bw) for (auto &part : partitions) part = (complex<float> *) memalign(16, filt_len * sizeof(complex<float>)); - /* + /* * Generate the prototype filter with a Blackman-harris window. * Scale coefficients with DC filter gain set to unity divided - * by the number of filter partitions. + * by the number of filter partitions. */ float a0 = 0.35875; float a1 = 0.48829; @@ -137,8 +137,8 @@ int Resampler::rotate(const float *in, size_t in_len, float *out, size_t out_len /* Generate output from precomputed input/output paths */ for (size_t i = 0; i < out_len; i++) { - n = in_index[i]; - path = out_path[i]; + n = in_index[i]; + path = out_path[i]; convolve_real(in, in_len, reinterpret_cast<float *>(partitions[path]), |