diff options
author | Michael Dickens <michael.dickens@ettus.com> | 2015-04-02 15:00:09 -0400 |
---|---|---|
committer | Michael Dickens <michael.dickens@ettus.com> | 2015-04-02 15:00:09 -0400 |
commit | 225c6b33730b8812ba82cbc93884aef7edcaad1c (patch) | |
tree | 59e42ea3e15283375c95dce46f41b944afbce9d7 /gr-dtv/lib/atsc/atsc_sync_impl.cc | |
parent | 7fe6115297c9d5d1d9220dc23bab96aa88b2b72d (diff) |
dtv: move "static const" variables from header / class into the main code. The original code is not necessary to have in the class, and causes issues when compiling using c++11 compliance.
Diffstat (limited to 'gr-dtv/lib/atsc/atsc_sync_impl.cc')
-rw-r--r-- | gr-dtv/lib/atsc/atsc_sync_impl.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gr-dtv/lib/atsc/atsc_sync_impl.cc b/gr-dtv/lib/atsc/atsc_sync_impl.cc index ec46d6b8d1..d83bccc5e0 100644 --- a/gr-dtv/lib/atsc/atsc_sync_impl.cc +++ b/gr-dtv/lib/atsc/atsc_sync_impl.cc @@ -31,6 +31,13 @@ namespace gr { namespace dtv { + static const double LOOP_FILTER_TAP = 0.0005; // 0.0005 works + static const double ADJUSTMENT_GAIN = 1.0e-5 / (10 * ATSC_DATA_SEGMENT_LENGTH); + static const int SYMBOL_INDEX_OFFSET = 3; + static const int MIN_SEG_LOCK_CORRELATION_VALUE = 5; + static const int SSI_MIN = -16; + static const int SSI_MAX = 15; + atsc_sync::sptr atsc_sync::make(float rate) { |