From f0a767b8059abe113f422fdbe0a29e9c00a9945f Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 13 Aug 2019 10:48:06 +0200 Subject: Add missing includes, remove unused m_to_drop --- src/DabMod.cpp | 1 + src/InputReader.h | 8 -------- src/MemlessPoly.h | 8 ++++---- 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 #include #include +#include #include #include #include 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 #endif - #include "RemoteControl.h" #include "ModPlugin.h" #include "PcDebug.h" #include "ThreadsafeQueue.h" #include +#include #include +#include +#include #include #include -#include +#include #include -#include -#include #define MEMLESSPOLY_PIPELINE_DELAY 1 -- cgit v1.2.3