summaryrefslogtreecommitdiff
path: root/gr-digital/lib/symbol_sync_cc_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* modules: include boost/format where usedMarcus Müller2021-09-071-0/+1
| | | | | | | | | | | | | | | | | | | in the classic modules: audio blocks digital dtv fec fft filter qtgui trellis/fsm uhd video-sdl vocoder/freedv_rx Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* digital/symbol_sync_{cc,_ff}: don't sort; it's already sortedMarcus Müller2021-07-191-1/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* gr-digital: Fix errors in logging messagesZackery Spytz2021-02-121-2/+2
| | | | | | | "Interpolations" was misspelled. Also, there was a missing space after the word "symbol". Signed-off-by: Zackery Spytz <zspytz@gmail.com>
* digital/symbol_sync: Remove manual memory managementThomas Habets2020-08-141-34/+30
| | | | | | | | | | | | | The `cc` version already used more smart pointers, but `d_clock` didn't need to be a pointer at all. I consted function args to make it clear in the initializer that they will not be changed in the constructor body. Return value for `make` for the TED and interpolator was changed to a `unique_ptr` to make it clear that ownership is transferred. And it makes it all but impossible to accidentally memory leak. (core guidelines F.26. Also relevant I.11,R.20).
* Replace all calls to `get_initial_sptr` with `make_block_sptr`Thomas Habets2020-07-301-11/+11
| | | | | | | | | | | | | | First batch of changes: ``` find […] -print0 | xargs -0 sed -i -r '/get_initial_sptr/{:nxt N;/;/!b nxt;s/get_initial_sptr\(\s*new ([^(]+)(.*)\)\)/make_block_sptr<\1>\2)/}' ``` Then: * Back out `sptr_magic.h` edits * Change some `friend` clauses * clang-format the whole thing * Update checksums in the pybind11 bindings files
* boost: remove deprecated math/common_factor.hppjapm482020-04-111-2/+2
| | | | | Remove deprecation warning and prefer using std::{lcm,gcd} to Boost. Fixes #2712.
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Fix all formatting issuesMartin Braun2020-01-101-7/+10
| | | | | This fixes every leftover file in the GNU Radio source tree to match our clang-format definition.
* gr-digital/symbol_sync: More constThomas Habets2020-01-061-8/+8
|
* gr-digital: Remove needless type trickeryThomas Habets2020-01-021-8/+2
|
* gr-digital/symbol_sync: Remove needless memory managementThomas Habets2020-01-021-16/+7
|
* clang-format: Ordering all the includesMarcus Müller2019-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-441/+417
|
* gr-digital: Prevent the clock tracking loop from generating negative estimatesAndy Walls2019-02-171-1/+0
| | | | | | | | | | | Under extreme circumstances of the error signal input, the clock tracking loop would allow the average clock period and instantaneous clock period estimates to go negative, resulting in an infinite loop when wrapping the clock phase. Change clock period estimate limiting to happen when the estimates are being formed, so that the negative, non-sensical values aren't allowed to happen.
* digital: replace 'and', 'or', 'not' with &&, ||, ! respectivelyPiotr Krysik2018-02-031-8/+8
| | | | MSVC seems to be unable to deal with these.
* digital: Add expected TED gain for computing symbol sync loop gainsAndy Walls2017-07-241-1/+5
| | | | | | | The computation of proportional (alpha) and intergal (beta) loop gains in the symbol synchronizer blocks neglected to account for the timing error detector gain. Add expected timing error detector gain as a user configurable parameter.
* gr-filter, digital: Add symbol_sync_{cc|ff} and auxiliary classesAndy Walls2017-07-171-0/+650