aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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