SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
sdrbase
dsp
symsync.h
Go to the documentation of this file.
1
// Copyright (C) 2018 Edouard Griffiths, F4EXB //
3
// //
4
// Symbol synchronizer or symbol clock recovery mostly encapsulating //
5
// liquid-dsp's symsync "object" //
6
// //
7
// This program is free software; you can redistribute it and/or modify //
8
// it under the terms of the GNU General Public License as published by //
9
// the Free Software Foundation as version 3 of the License, or //
10
// (at your option) any later version. //
11
// //
12
// This program is distributed in the hope that it will be useful, //
13
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
15
// GNU General Public License V3 for more details. //
16
// //
17
// You should have received a copy of the GNU General Public License //
18
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
20
21
#include "
dsp/dsptypes.h
"
22
#include "liquid.h"
23
#include <
complex.h
>
24
25
class
SymbolSynchronizer
26
{
27
public
:
28
SymbolSynchronizer
();
29
~SymbolSynchronizer
();
30
31
Real
run
(
const
Sample
& s);
32
liquid_float_complex
runZ
(
const
Sample
& s);
33
34
private
:
35
symsync_crcf
m_sync
;
36
liquid_float_complex
m_z
[4+4];
// 4 samples per symbol. One symbol plus extra space
37
liquid_float_complex
m_z0
;
38
int
m_syncSampleCount
;
39
};
complex.h
SymbolSynchronizer::runZ
liquid_float_complex runZ(const Sample &s)
Definition:
symsync.cpp:72
SymbolSynchronizer::m_z
liquid_float_complex m_z[4+4]
Definition:
symsync.h:36
SymbolSynchronizer
Definition:
symsync.h:25
dsptypes.h
SymbolSynchronizer::~SymbolSynchronizer
~SymbolSynchronizer()
Definition:
symsync.cpp:39
SymbolSynchronizer::SymbolSynchronizer
SymbolSynchronizer()
Definition:
symsync.cpp:23
SymbolSynchronizer::m_syncSampleCount
int m_syncSampleCount
Definition:
symsync.h:38
Sample
Definition:
dsptypes.h:46
SymbolSynchronizer::m_sync
symsync_crcf m_sync
Definition:
symsync.h:35
SymbolSynchronizer::run
Real run(const Sample &s)
Definition:
symsync.cpp:44
SymbolSynchronizer::m_z0
liquid_float_complex m_z0
Definition:
symsync.h:37
Real
float Real
Definition:
dsptypes.h:42
Generated on Fri Aug 2 2019 17:56:33 for SDRAngel by
1.8.13