summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-08-13 10:48:06 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-08-13 10:48:06 +0200
commitf0a767b8059abe113f422fdbe0a29e9c00a9945f (patch)
tree3e51a03a8db09d00f314529040b70535c498cef5
parenta5c50a4f262f0a880734623f79d4dc2f1aa8a0a2 (diff)
downloaddabmod-f0a767b8059abe113f422fdbe0a29e9c00a9945f.tar.gz
dabmod-f0a767b8059abe113f422fdbe0a29e9c00a9945f.tar.bz2
dabmod-f0a767b8059abe113f422fdbe0a29e9c00a9945f.zip
Add missing includes, remove unused m_to_drop
-rw-r--r--src/DabMod.cpp1
-rw-r--r--src/InputReader.h8
-rw-r--r--src/MemlessPoly.h8
3 files changed, 5 insertions, 12 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 1f435bf..81882e4 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -37,6 +37,7 @@
#include <cstdlib>
#include <stdexcept>
#include <cstdio>
+#include <cstring>
#include <cstddef>
#include <sys/stat.h>
#include <signal.h>
diff --git a/src/InputReader.h b/src/InputReader.h
index 1a63cea..ab45d4f 100644
--- a/src/InputReader.h
+++ b/src/InputReader.h
@@ -201,14 +201,6 @@ class InputZeroMQReader : public InputReader, public RemoteControllable
zmq::context_t m_zmqcontext; // is thread-safe
std::thread m_recv_thread;
-
- /* We must be careful to keep frame phase consistent. If we
- * drop a single ETI frame, we will break the transmission
- * frame vs. ETI frame phase.
- *
- * Here we keep track of how many ETI frames we must drop.
- */
- int m_to_drop = 0;
};
#endif
diff --git a/src/MemlessPoly.h b/src/MemlessPoly.h
index 43fdb2d..4642596 100644
--- a/src/MemlessPoly.h
+++ b/src/MemlessPoly.h
@@ -30,20 +30,20 @@
# include <config.h>
#endif
-
#include "RemoteControl.h"
#include "ModPlugin.h"
#include "PcDebug.h"
#include "ThreadsafeQueue.h"
#include <sys/types.h>
+#include <array>
#include <complex>
+#include <memory>
+#include <string>
#include <thread>
#include <vector>
-#include <time.h>
+#include <ctime>
#include <cstdio>
-#include <string>
-#include <memory>
#define MEMLESSPOLY_PIPELINE_DELAY 1