summaryrefslogtreecommitdiff
path: root/gr-atsc/src/lib/GrAtscFPLL.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-atsc/src/lib/GrAtscFPLL.cc')
-rw-r--r--gr-atsc/src/lib/GrAtscFPLL.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/gr-atsc/src/lib/GrAtscFPLL.cc b/gr-atsc/src/lib/GrAtscFPLL.cc
index ce5b183e6..df7d6b8c0 100644
--- a/gr-atsc/src/lib/GrAtscFPLL.cc
+++ b/gr-atsc/src/lib/GrAtscFPLL.cc
@@ -1,19 +1,19 @@
/* -*- c++ -*- */
/*
* Copyright 2002 Free Software Foundation, Inc.
- *
+ *
* This file is part of GNU Radio
- *
+ *
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
- *
+ *
* GNU Radio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with GNU Radio; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
@@ -59,7 +59,7 @@ GrAtscFPLL::initialize ()
float Fs = getInputSamplingFrequencyN (0);
float alpha = 1 - exp(-1.0 / Fs / 5e-6);
-
+
afci.set_taps (alpha);
afcq.set_taps (alpha);
@@ -67,7 +67,7 @@ GrAtscFPLL::initialize ()
nco.set_phase (initial_phase);
}
-int
+int
GrAtscFPLL::work (VrSampleRange output, void *ao[],
VrSampleRange inputs[], void *ai[])
{
@@ -109,7 +109,7 @@ GrAtscFPLL::work (VrSampleRange output, void *ao[],
// static const float alpha = 0.037; // Max value
// static const float alpha = 0.005; // takes about 5k samples to pull in, stddev = 323
// static const float alpha = 0.002; // takes about 15k samples to pull in, stddev = 69
- // or about 120k samples on noisy data,
+ // or about 120k samples on noisy data,
static const float alpha = 0.001;
static const float beta = alpha * alpha / 4;