diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-12-25 21:34:03 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-12-25 21:34:03 +0100 |
commit | 2bba7d602744ccd6dab26940661f0fdfbf231af8 (patch) | |
tree | 590a5808497da3b621e29239cd56db6c89c2d6a9 /src/PhaseReference.h | |
parent | b5fd4a6ab6ac92af2141233f802e71c861cd89f4 (diff) | |
download | dabmod-2bba7d602744ccd6dab26940661f0fdfbf231af8.tar.gz dabmod-2bba7d602744ccd6dab26940661f0fdfbf231af8.tar.bz2 dabmod-2bba7d602744ccd6dab26940661f0fdfbf231af8.zip |
Refactor flowgraph and puncturing rules
Diffstat (limited to 'src/PhaseReference.h')
-rw-r--r-- | src/PhaseReference.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/PhaseReference.h b/src/PhaseReference.h index 12ac9c4..f7a5cdc 100644 --- a/src/PhaseReference.h +++ b/src/PhaseReference.h @@ -1,6 +1,11 @@ /* Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Her Majesty the Queen in Right of Canada (Communications Research Center Canada) + + Copyright (C) 2016 + Matthias P. Braendli, matthias.braendli@mpb.li + + http://opendigitalradio.org */ /* This file is part of ODR-DabMod. @@ -19,21 +24,20 @@ along with ODR-DabMod. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef PHASE_REFERENCE_H -#define PHASE_REFERENCE_H +#pragma once #ifdef HAVE_CONFIG_H # include <config.h> #endif -#include "ModCodec.h" +#include "ModPlugin.h" #include <sys/types.h> #include <complex> #include <vector> -class PhaseReference : public ModCodec +class PhaseReference : public ModInput { public: PhaseReference(unsigned int dabmode); @@ -41,8 +45,7 @@ public: PhaseReference(const PhaseReference&); PhaseReference& operator=(const PhaseReference&); - - int process(Buffer* const dataIn, Buffer* dataOut); + int process(Buffer* dataOut); const char* name() { return "PhaseReference"; } protected: @@ -55,5 +58,3 @@ protected: void fillData(); }; -#endif // PHASE_REFERENCE_H - |