diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-11-18 17:06:49 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-11-18 17:10:41 +0100 |
commit | 101952b8277dede9c70a72a7f9e7a75ed3a291e0 (patch) | |
tree | 13f2b9f239154c9bed596ee8508c63812b478c10 /src/TII.h | |
parent | 9c4683b718fb785ebf7fa5e3cca21af6bd9dc4bb (diff) | |
download | dabmod-101952b8277dede9c70a72a7f9e7a75ed3a291e0.tar.gz dabmod-101952b8277dede9c70a72a7f9e7a75ed3a291e0.tar.bz2 dabmod-101952b8277dede9c70a72a7f9e7a75ed3a291e0.zip |
Make TII compatible with fixed point
Diffstat (limited to 'src/TII.h')
-rw-r--r-- | src/TII.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2,7 +2,7 @@ Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2023 + Copyright (C) 2024 Matthias P. Braendli, matthias.braendli@mpb.li http://opendigitalradio.org @@ -36,8 +36,6 @@ #include "RemoteControl.h" #include <cstddef> -#include <thread> -#include <complex> #include <vector> #include <string> @@ -81,7 +79,7 @@ class TIIError : public std::runtime_error { class TII : public ModCodec, public RemoteControllable { public: - TII(unsigned int dabmode, tii_config_t& tii_config); + TII(unsigned int dabmode, tii_config_t& tii_config, bool fixedPoint); virtual ~TII() {} int process(Buffer* dataIn, Buffer* dataOut) override; @@ -106,6 +104,8 @@ class TII : public ModCodec, public RemoteControllable // Remote-controllable settings tii_config_t& m_conf; + bool m_fixedPoint = false; + // Internal flag when to insert TII bool m_insert = true; |